@charset "UTF-8";
/* ============================================================
   Cankat Çetin Hukuk Bürosu — tasarım sistemi
   Mobil öncelikli. Çerçeve yok, derleme adımı yok.
   Bölümler: 1 Tokens · 2 Reset · 3 Tipografi · 4 Yerleşim
             5 Bileşenler · 6 Sayfalar · 7 Yardımcılar · 8 Yazdırma
   ============================================================ */

/* ===== 1. TOKENS ===== */
:root {
  color-scheme: light;

  /* Marka */
  --gold: #d8ae76;
  --gold-hover: #c99a5b;
  --gold-ink: #7a5a24;        /* beyaz üzerine erişilebilir altın (5.9:1) */
  --gold-soft: #f7efe2;
  --gold-line: #e8d5b8;

  --navy: #0f1b2d;
  --navy-700: #1b2b45;
  --navy-500: #33455f;
  --navy-ghost: rgb(15 27 45 / .06);

  /* Nötrler */
  --ink: #14181f;
  --body: #4a5361;
  --muted: #6b7480;
  --line: #e4e7ec;
  --line-soft: #eef0f4;
  --surface: #ffffff;
  --surface-alt: #f7f8fa;

  --ok: #1f7a4d;
  --warn: #9a5b00;
  --err: #b3261e;
  --err-soft: #fdf1f0;

  /* Tipografi — akışkan */
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-lg: clamp(1.125rem, 1.06rem + .32vw, 1.25rem);
  --fs-h4: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
  --fs-h3: clamp(1.5rem, 1.34rem + .8vw, 1.95rem);
  --fs-h2: clamp(1.85rem, 1.6rem + 1.25vw, 2.6rem);
  --fs-h1: clamp(2.1rem, 1.7rem + 2vw, 3.4rem);

  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-base: 1.7;

  /* Boşluk */
  --s1: .25rem; --s2: .5rem;  --s3: .75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem;   --s7: 3rem;   --s8: 4rem;  --s9: 6rem;
  --section-y: clamp(3rem, 2rem + 5vw, 6rem);

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-full: 999px;

  --sh-sm: 0 1px 2px rgb(15 27 45 / .06), 0 1px 3px rgb(15 27 45 / .08);
  --sh-md: 0 4px 12px rgb(15 27 45 / .08);
  --sh-lg: 0 12px 32px rgb(15 27 45 / .12);

  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1rem, .5rem + 2vw, 2rem);

  --header-h: 68px;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Lora', Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ===== 2. RESET ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s4));
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--gold-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--navy); }

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

hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }

::selection { background: var(--gold); color: var(--navy); }

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: var(--s3) var(--s5);
  border-radius: 0 0 var(--r-sm) var(--r-sm); text-decoration: none;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ===== 3. TİPOGRAFİ ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: var(--lh-tight);
  font-weight: 600;
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.015em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }
h5 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--s4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); font-weight: 600; }
small { font-size: var(--fs-sm); }

.lead { font-size: var(--fs-lg); color: var(--body); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: var(--s3);
}

ul, ol { margin: 0 0 var(--s4); padding-left: 1.35em; }
li + li { margin-top: var(--s2); }

blockquote {
  margin: var(--s6) 0;
  padding: var(--s4) var(--s5);
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--ink);
}

/* ===== 4. YERLEŞİM ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--navy); color: rgb(255 255 255 / .78); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .eyebrow { color: var(--gold); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }

.section-head { max-width: 62ch; margin-bottom: var(--s7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: var(--s5); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.stack > * + * { margin-top: var(--s4); }
.stack--lg > * + * { margin-top: var(--s6); }

/* ===== 5. BİLEŞENLER ===== */

/* --- Butonlar --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 46px;
  padding: var(--s3) var(--s5);
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: var(--gold-hover); color: var(--navy); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-alt); border-color: var(--navy-500); color: var(--navy); }

.btn--on-navy { background: transparent; color: #fff; border-color: rgb(255 255 255 / .35); }
.btn--on-navy:hover { background: rgb(255 255 255 / .1); color: #fff; border-color: #fff; }

.btn--wa { background: #1faa53; color: #fff; }
.btn--wa:hover { background: #179245; color: #fff; }

.btn--lg { min-height: 54px; padding-inline: var(--s6); font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* --- İkonlar --- */
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6;
      stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--lg { width: 28px; height: 28px; }

/* --- Header --- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); min-height: var(--header-h);
}
/* Menü kalan alanı doldurup sağa yaslanır; marka ve CTA hiç daralmaz.
   min-width:max-content menünün marka yazısının üzerine binmesini engeller. */
.header__inner > .brand,
.header__inner > .header__cta { flex: none; }
.header__inner > .nav { flex: 1 1 auto; display: none; min-width: max-content; }
.header__inner > .nav .nav__list { justify-content: flex-end; flex-wrap: nowrap; }

.brand {
  display: flex; align-items: center; gap: var(--s3);
  text-decoration: none; flex: none;
  min-height: 44px;   /* dokunma hedefi */
}
.brand img { height: 38px; width: auto; }
.brand__text { display: none; }
.brand__name { font-family: var(--font-head); font-size: 1rem; font-weight: 600;
               color: var(--ink); line-height: 1.15; }
.brand__sub { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-right: -8px;
  background: none; border: 0; border-radius: var(--r-sm);
  color: var(--navy); cursor: pointer;
}
.nav-toggle:hover { background: var(--navy-ghost); }

.nav { display: none; }

.nav__list { display: flex; align-items: center; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }

.nav__link {
  display: block; padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--navy-500);
  text-decoration: none; white-space: nowrap;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__link:hover { color: var(--navy); background: var(--navy-ghost); }
.nav__link[aria-current="page"] { color: var(--navy); font-weight: 600; }

/* Açılır menü — masaüstü */
.nav__group { position: relative; }
.nav__trigger {
  display: inline-flex; align-items: center; gap: var(--s1);
  background: none; border: 0; cursor: pointer;
}
.nav__trigger .ic { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.nav__group.is-open .nav__trigger .ic { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 10;
  min-width: 250px; padding: var(--s2);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  list-style: none; margin: 0;
}
/* Tetikleyici ile menü arasındaki 6px boşluk fareyle geçilirken mouseleave
   tetiklenip menüyü kapatıyordu. Görünmez bir köprü boşluğu kapatır. */
.nav__menu::before {
  content: ''; position: absolute;
  left: 0; right: 0; top: -8px; height: 8px;
}
.nav__menu[hidden] { display: none; }
.nav__menu li { margin: 0; }
.nav__menu a {
  display: block; padding: var(--s3); border-radius: var(--r-sm);
  font-size: var(--fs-sm); color: var(--navy-500); text-decoration: none;
}
.nav__menu a:hover { background: var(--surface-alt); color: var(--navy); }
.nav__menu .nav__menu-desc { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }

.header__cta { display: none; }

/* --- Mobil çekmece --- */
.drawer {
  position: fixed; inset: 0; z-index: 150;
  display: grid; grid-template-columns: 1fr min(88%, 380px);
  visibility: hidden;
  /* Kapalıyken panel translateX(100%) ile dışarı taşar; belgeyi genişletmesin. */
  overflow: clip;
}
.drawer.is-open { visibility: visible; }

.drawer__scrim {
  background: rgb(15 27 45 / .5);
  opacity: 0; transition: opacity .25s var(--ease);
  border: 0; padding: 0; cursor: pointer;
}
.drawer.is-open .drawer__scrim { opacity: 1; }

.drawer__panel {
  display: flex; flex-direction: column;
  background: var(--surface);
  box-shadow: var(--sh-lg);
  transform: translateX(100%);
  transition: transform .28s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: max(var(--s6), env(safe-area-inset-bottom));
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--surface); z-index: 1;
}
.drawer__title { font-family: var(--font-head); font-weight: 600; color: var(--ink); }

.drawer__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; border-radius: var(--r-sm);
  color: var(--navy); cursor: pointer;
}
.drawer__close:hover { background: var(--navy-ghost); }

.drawer__nav { list-style: none; margin: 0; padding: var(--s4) var(--s5); }
.drawer__nav li { margin: 0; }
.drawer__nav > li + li { margin-top: 2px; }

.drawer__link {
  display: block; padding: var(--s3) var(--s3);
  border-radius: var(--r-sm);
  font-size: var(--fs-base); font-weight: 500;
  color: var(--navy-500); text-decoration: none;
  min-height: 46px;
}
.drawer__link:hover { background: var(--surface-alt); color: var(--navy); }
.drawer__link[aria-current="page"] { color: var(--navy); font-weight: 600; background: var(--gold-soft); }

.drawer__section { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line-soft); }
.drawer__label {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  padding: 0 var(--s3) var(--s2);
}
.drawer__sub { list-style: none; margin: 0; padding: 0; }
.drawer__sub .drawer__link { font-size: var(--fs-sm); padding-left: var(--s5); }

.drawer__foot { padding: var(--s5); border-top: 1px solid var(--line); margin-top: auto; display: grid; gap: var(--s3); }

/* --- Kartlar --- */
.card {
  display: flex; flex-direction: column;
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: var(--s4);
  background: var(--gold-soft); color: var(--gold-ink);
  border-radius: var(--r-md);
}
.card h3 { font-size: var(--fs-h4); margin-bottom: var(--s3); }
.card p { font-size: var(--fs-sm); margin-bottom: var(--s4); }
.card__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--fs-sm); font-weight: 600; color: var(--gold-ink); text-decoration: none;
}
.card__more .ic { width: 16px; height: 16px; transition: transform .18s var(--ease); }

.card--link { position: relative; }
.card--link:hover { border-color: var(--gold); box-shadow: var(--sh-md); transform: translateY(-2px); }
.card--link:hover .card__more .ic { transform: translateX(3px); }
.card--link:focus-within { border-color: var(--gold-ink); }
/* Kartın tamamı tıklanabilir — bağlantı metni erişilebilir kalır */
.card__stretch::after { content: ''; position: absolute; inset: 0; }

/* --- Bilgi kutusu / istatistik --- */
.stat { text-align: center; padding: var(--s4); }
.stat__num {
  display: block; font-family: var(--font-head); font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  font-weight: 600; color: var(--ink); line-height: 1.1;
}
.stat__label { font-size: var(--fs-sm); color: var(--muted); }
.section--navy .stat__num { color: var(--gold); }
.section--navy .stat__label { color: rgb(255 255 255 / .7); }

/* --- Adım listesi --- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: adim; }
.steps li {
  position: relative; padding-left: 3.5rem; margin: 0 0 var(--s6);
  counter-increment: adim;
}
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  content: counter(adim);
  position: absolute; left: 0; top: -2px;
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  background: var(--navy); color: var(--gold);
  border-radius: var(--r-full);
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.steps h3 { font-size: var(--fs-lg); margin-bottom: var(--s2); }
.steps p { font-size: var(--fs-sm); margin: 0; }

/* --- İşaretli liste --- */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative; padding-left: 2rem; margin: 0 0 var(--s3);
  font-size: var(--fs-sm);
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .45em;
  width: 1.05rem; height: 1.05rem;
  background: var(--gold-soft) center / .68rem no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237a5a24' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5'/%3E%3C/svg%3E");
  border-radius: var(--r-full);
}
.ticks--2 { columns: 1; }

/* --- Akordiyon (native details) --- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4);
  padding: var(--s4) 0; min-height: 44px;
  font-family: var(--font-head); font-size: var(--fs-lg); font-weight: 600;
  color: var(--ink); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 1.25rem; height: 1.25rem; margin-top: .2em;
  background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237a5a24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:hover { color: var(--gold-ink); }
.faq__answer { padding: 0 0 var(--s5); max-width: 68ch; }
.faq__answer p { font-size: var(--fs-sm); }

/* --- Breadcrumb --- */
.crumbs { padding-block: var(--s4); font-size: var(--fs-sm); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2);
             list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: var(--s2); }
.crumbs li + li::before { content: '/'; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* --- Sayfa başlığı --- */
.page-head {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 62%, #24374f 100%);
  color: rgb(255 255 255 / .78);
  position: relative; overflow: hidden;
}
.page-head::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 88% 8%, rgb(216 174 118 / .16), transparent 65%);
  pointer-events: none;
}
.page-head > * { position: relative; }
.page-head h1 { color: #fff; margin-bottom: var(--s3); }
.page-head .lead { color: rgb(255 255 255 / .8); max-width: 62ch; }
.page-head .crumbs { padding-top: 0; margin-bottom: var(--s5); }
.page-head .crumbs a { color: rgb(255 255 255 / .62); }
.page-head .crumbs a:hover { color: var(--gold); }
.page-head .crumbs [aria-current] { color: rgb(255 255 255 / .92); }
.page-head .crumbs li + li::before { color: rgb(255 255 255 / .28); }

/* --- CTA şeridi --- */
.cta-band {
  display: grid; gap: var(--s5);
  padding: clamp(1.75rem, 1.4rem + 2vw, 3rem);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-700) 100%);
  border-radius: var(--r-lg);
  color: rgb(255 255 255 / .8);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 100% at 100% 0%, rgb(216 174 118 / .2), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: var(--fs-h3); margin-bottom: var(--s3); }
.cta-band p { font-size: var(--fs-sm); margin-bottom: 0; max-width: 54ch; }

/* --- Uyarı / bilgi kutuları --- */
.note {
  padding: var(--s4) var(--s5);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-alt);
  font-size: var(--fs-sm);
}
.note--gold { background: var(--gold-soft); border-color: var(--gold-line); }
.note--err { background: var(--err-soft); border-color: #f3c9c6; color: #7d1d17; }
.note__title { display: flex; align-items: center; gap: var(--s2);
               font-weight: 600; color: var(--ink); margin-bottom: var(--s2); }
.note p:last-child { margin-bottom: 0; }

/* --- Sorumluluk reddi --- */
.disclaimer {
  padding: var(--s5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--surface-alt);
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--muted);
}
.disclaimer strong { color: var(--ink); }
.disclaimer p:last-child { margin-bottom: 0; }

/* --- Form --- */
.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field > label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }

.input, .select {
  width: 100%; min-height: 48px;
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input:hover, .select:hover { border-color: #cfd4dc; }
.input:focus, .select:focus {
  outline: none; border-color: var(--gold-ink);
  box-shadow: 0 0 0 3px rgb(122 90 36 / .12);
}
.input[aria-invalid="true"] { border-color: var(--err); }

.select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234a5361' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s4) center;
  background-size: 1.15rem;
}

.field-error { font-size: var(--fs-xs); color: var(--err); font-weight: 500; }

/* Tarih alanının gg.aa.yyyy karşılığı */
.tarih-gosterim:not(:empty) { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.validation-summary { margin: 0; padding-left: 1.2em; }
.validation-summary li { font-size: var(--fs-sm); }

.field--inline-hidden[hidden] { display: none; }

/* --- Tablo --- */
/* Negatif kenar boşluğu kullanılmaz: sabit konumlu çekmece belgeyi genişletiyordu.
   Sağ kenardaki gölge, dar ekranda tablonun devam ettiğini görsel olarak belli eder. */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, var(--surface) 30%, rgb(255 255 255 / 0)) left / 32px 100% no-repeat,
    linear-gradient(to left, var(--surface) 30%, rgb(255 255 255 / 0)) right / 32px 100% no-repeat,
    radial-gradient(farthest-side at 0 50%, rgb(15 27 45 / .12), transparent) left / 12px 100% no-repeat,
    radial-gradient(farthest-side at 100% 50%, rgb(15 27 45 / .12), transparent) right / 12px 100% no-repeat;
  background-attachment: local, local, scroll, scroll;
}
.table-wrap + .table-hint { margin-top: var(--s2); font-size: var(--fs-xs); color: var(--muted); }
@media (min-width: 768px) { .table-hint { display: none; } }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 620px; }
.table th, .table td { padding: var(--s3) var(--s4); text-align: left; border-bottom: 1px solid var(--line); }
.table th {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); background: var(--surface-alt); white-space: nowrap;
}
.table td { vertical-align: top; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tbody tr:hover { background: var(--surface-alt); }
.table__basis { font-size: var(--fs-xs); color: var(--muted); }

/* --- Sonuç özeti --- */
.result-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.result {
  padding: var(--s5);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.result--accent { background: var(--navy); border-color: var(--navy); }
.result__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em;
                 text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.result--accent .result__label { color: rgb(255 255 255 / .65); }
.result__value {
  font-family: var(--font-head); font-size: clamp(1.35rem, 1.15rem + 1vw, 1.9rem);
  font-weight: 600; color: var(--ink); line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.result--accent .result__value { color: var(--gold); }

/* --- Etiket --- */
.badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: .3rem .7rem;
  background: var(--gold-soft); color: var(--gold-ink);
  border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 600;
}
.badge--muted { background: var(--surface-alt); color: var(--muted); }

/* --- İletişim satırı --- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.contact-list li { display: flex; gap: var(--s3); margin: 0; align-items: flex-start; }
.contact-list .ic { color: var(--gold-ink); margin-top: .15em; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--gold-ink); text-decoration: underline; }
.contact-list__label { display: block; font-size: var(--fs-xs); color: var(--muted); }

/* --- Footer --- */
.footer { background: var(--navy); color: rgb(255 255 255 / .7); padding-top: var(--s8); }
.footer h2, .footer h3 { color: #fff; }
.footer a { color: rgb(255 255 255 / .7); text-decoration: none; }
.footer a:hover { color: var(--gold); text-decoration: underline; }

.footer__grid {
  display: grid; gap: var(--s7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  padding-bottom: var(--s7);
}
.footer__brand img { height: 40px; width: auto; margin-bottom: var(--s4); }
.footer__brand p { font-size: var(--fs-sm); max-width: 34ch; }

.footer__title {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  margin-bottom: var(--s4);
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin: 0 0 var(--s3); }
.footer__list a { font-size: var(--fs-sm); }
.footer .contact-list li { font-size: var(--fs-sm); }
.footer .contact-list .ic { color: var(--gold); }
.footer .contact-list__label { color: rgb(255 255 255 / .45); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s3);
  padding-block: var(--s5);
  border-top: 1px solid rgb(255 255 255 / .12);
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); list-style: none; margin: 0; padding: 0; }
.footer__legal li { margin: 0; }
.footer__legal button {
  display: inline-flex; align-items: center; min-height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: rgb(255 255 255 / .7); font-size: var(--fs-xs); text-decoration: underline;
}
.footer__legal button:hover { color: var(--gold); }

/* --- WhatsApp sabit butonu --- */
.fab {
  position: fixed; z-index: 90;
  right: max(var(--s4), env(safe-area-inset-right));
  bottom: max(var(--s4), env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: var(--s3);
  height: 56px; padding-inline: var(--s4);
  background: #1faa53; color: #fff;
  border-radius: var(--r-full);
  box-shadow: var(--sh-lg);
  text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
  transition: background-color .18s var(--ease), transform .18s var(--ease), bottom .25s var(--ease);
}
.fab:hover { background: #179245; color: #fff; transform: translateY(-2px); }
.fab .ic { width: 26px; height: 26px; }
.fab__text { display: none; }

body.has-consent .fab { bottom: calc(env(safe-area-inset-bottom) + 6.5rem); }

/* --- Çerez izni --- */
.consent {
  position: fixed; z-index: 120;
  left: 0; right: 0; bottom: 0;
  padding: var(--s4) 0 max(var(--s4), env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgb(15 27 45 / .1);
}
.consent[hidden] { display: none; }
.consent__inner { display: grid; gap: var(--s4); }
.consent__text { font-size: var(--fs-sm); }
.consent__text strong { display: block; font-family: var(--font-head); font-size: var(--fs-base);
                        margin-bottom: var(--s1); }
/* Küçük ekranlarda şerit içeriği fazla örtmesin; gerekirse kendi içinde kaysın. */
.consent__inner { max-height: 72vh; overflow-y: auto; overscroll-behavior: contain; }
.consent__actions { display: grid; gap: var(--s2); }
.consent__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  background: none; border: 0; padding: var(--s2); cursor: pointer;
  font-size: var(--fs-sm); font-weight: 600; color: var(--gold-ink);
  text-decoration: underline; text-underline-offset: .2em;
}
.consent__link:hover { color: var(--navy); }

.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: end center; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgb(15 27 45 / .55); border: 0; padding: 0; cursor: pointer; }
.modal__panel {
  position: relative;
  width: min(100%, 620px);
  max-height: min(88vh, 780px);
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.modal__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4);
  padding: var(--s5); border-bottom: 1px solid var(--line);
}
.modal__head h2 { font-size: var(--fs-h4); margin: 0; }
.modal__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: -10px -10px 0 0;
  background: none; border: 0; border-radius: var(--r-sm); color: var(--navy); cursor: pointer;
}
.modal__close:hover { background: var(--navy-ghost); }
.modal__body { padding: var(--s5); overflow-y: auto; overscroll-behavior: contain; }
.modal__foot {
  display: grid; gap: var(--s3);
  padding: var(--s5); border-top: 1px solid var(--line); background: var(--surface-alt);
}

.cat { padding: var(--s4) 0; border-bottom: 1px solid var(--line-soft); }
.cat:last-child { border-bottom: 0; padding-bottom: 0; }
.cat__row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); }
.cat__name { font-weight: 600; color: var(--ink); margin-bottom: var(--s1); }
.cat p { font-size: var(--fs-sm); margin: 0; }
.cat__req { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; padding-top: .2em; }

/* Anahtar (toggle) */
.switch { position: relative; flex: none; width: 48px; height: 28px; }
.switch input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.switch__track {
  display: block; width: 100%; height: 100%;
  background: #c9ced8; border-radius: var(--r-full);
  transition: background-color .18s var(--ease);
  pointer-events: none;
}
.switch__track::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; background: #fff; border-radius: 50%;
  box-shadow: var(--sh-sm);
  transition: transform .18s var(--ease);
}
.switch input:checked + .switch__track { background: var(--gold-ink); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch__track { background: var(--gold-line); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--gold-ink); outline-offset: 2px; }

/* ===== 6. SAYFALAR ===== */

/* --- Hero --- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2.5rem + 7vw, 7.5rem);
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-700) 55%, #26394f 100%);
  color: rgb(255 255 255 / .8);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(48% 72% at 82% 12%, rgb(216 174 118 / .22), transparent 62%),
    radial-gradient(40% 60% at 8% 92%, rgb(216 174 118 / .1), transparent 60%);
  pointer-events: none;
}
/* İnce çizgi dokusu — görsel gerektirmeyen arka plan */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 100% 3.5rem;
  mask-image: linear-gradient(180deg, transparent, #000 45%, transparent);
  pointer-events: none;
}
/* .container ile birleşik olduğundan margin-inline:auto metni ortalıyordu; sola hizala. */
.hero__inner { position: relative; z-index: 1; }
.hero__inner > * { max-width: 46rem; }
.hero h1 { color: #fff; margin-bottom: var(--s4); }
.hero__lead { font-size: var(--fs-lg); color: rgb(255 255 255 / .82); margin-bottom: var(--s6); max-width: 40rem; }
.hero .btn-row { margin-bottom: var(--s7); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid rgb(255 255 255 / .14);
  font-size: var(--fs-sm);
}
.hero__meta span { display: inline-flex; align-items: center; gap: var(--s2); }
.hero__meta .ic { color: var(--gold); width: 18px; height: 18px; }

/* --- Makale --- */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--s7); }
.prose h3 { font-size: var(--fs-h4); margin-top: var(--s6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose ul li, .prose ol li { font-size: var(--fs-base); }

.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3);
  font-size: var(--fs-sm); color: var(--muted);
  margin-bottom: var(--s6);
}
.article-meta time { font-variant-numeric: tabular-nums; }

/* --- Blog kartı --- */
.post-card { position: relative; display: flex; flex-direction: column; gap: var(--s3);
             padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-md);
             transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.post-card:hover { border-color: var(--gold); box-shadow: var(--sh-md); }
.post-card h3 { font-size: var(--fs-lg); margin: 0; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card p { font-size: var(--fs-sm); margin: 0; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: var(--s3); font-size: var(--fs-xs); color: var(--muted); }

/* --- Araç kartı (hesaplamalar) --- */
.tool-card { position: relative; display: flex; gap: var(--s4); padding: var(--s5);
             border: 1px solid var(--line); border-radius: var(--r-md);
             transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.tool-card:hover { border-color: var(--gold); box-shadow: var(--sh-md); }
.tool-card__icon { display: grid; place-items: center; flex: none;
                   width: 48px; height: 48px; border-radius: var(--r-md);
                   background: var(--gold-soft); color: var(--gold-ink); }
.tool-card h3 { font-size: var(--fs-lg); margin-bottom: var(--s2); }
.tool-card h3 a { color: var(--ink); text-decoration: none; }
.tool-card h3 a::after { content: ''; position: absolute; inset: 0; }
.tool-card p { font-size: var(--fs-sm); margin: 0; }
.tool-card--soon { opacity: .62; }
.tool-card--soon:hover { border-color: var(--line); box-shadow: none; }

/* --- Hesaplama düzeni --- */
/* minmax(0, 1fr): içerideki tablo grid sütununu genişletip taşma yaratmasın. */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); align-items: start; }
.calc > * { min-width: 0; }
.calc__panel { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-md);
               background: var(--surface); box-shadow: var(--sh-sm); }
.calc__panel h2 { font-size: var(--fs-h4); }

/* --- Harita --- */
.map-frame {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  display: grid; place-items: center; gap: var(--s4);
  height: 100%; padding: var(--s6); text-align: center;
}
.map-placeholder p { font-size: var(--fs-sm); max-width: 42ch; margin: 0; }

/* --- Hata sayfası --- */
.errorpage { display: grid; place-items: center; text-align: center;
             min-height: 60vh; padding-block: var(--s8); }
.errorpage__code {
  font-family: var(--font-head); font-size: clamp(4rem, 3rem + 8vw, 8rem);
  font-weight: 600; line-height: 1; color: var(--gold); margin-bottom: var(--s4);
}

/* ===== 7. YARDIMCILAR ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--s6); }
.mt-7 { margin-top: var(--s7); }
.nowrap { white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }

/* Kaydırma animasyonu */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== BREAKPOINTS ===== */
@media (min-width: 560px) {
  .consent__actions { grid-auto-flow: column; justify-content: start; }
  .modal__foot { grid-auto-flow: column; justify-content: end; }
  .fab__text { display: inline; }
  .ticks--2 { columns: 2; column-gap: var(--s6); }
  .ticks--2 li { break-inside: avoid; }
}

@media (min-width: 768px) {
  .brand__text { display: block; }
  .consent__inner { grid-template-columns: 1fr auto; align-items: center; gap: var(--s6); }
  .cta-band { grid-template-columns: 1fr auto; align-items: center; }
  .cta-band .btn-row { justify-content: flex-end; }
  .modal { place-items: center; }
  .modal__panel { border-radius: var(--r-lg); }
  .calc { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 1024px) {
  .header__inner > .nav { display: block; }
  .nav-toggle { display: none; }
  .calc { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
  .calc--wide { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* Telefon düğmesi ancak menü rahatça sığdıktan sonra eklenir.
   Sabit bir kırılma noktası içerik uzunluğuna göre kayabildiğinden geniş pay bırakıldı. */
@media (min-width: 1280px) {
  .header__cta { display: inline-flex; white-space: nowrap; flex: none; }
}

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

/* ===== 8. YAZDIRMA ===== */
@media print {
  .header, .footer, .fab, .consent, .modal, .drawer, .cta-band, .btn, .skip-link { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section { padding-block: 0; }
  .table { min-width: 0; font-size: 10pt; }
  .table-wrap { overflow: visible; margin: 0; padding: 0; }
  .result { border: 1px solid #999; }
  .result--accent { background: #fff; }
  .result--accent .result__label, .result--accent .result__value { color: #000; }
  .disclaimer { border: 1px solid #999; font-size: 9pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
