/* Bizim Ofis — düzen: sabit üst bar, 1180px içerik kolonu, bölümler arası geniş nefes */
:root {
  --bg: #faf8f6;
  --surface: #ffffff;
  --surface-2: #fbf9f8;
  --fg: #231f20;
  --muted: #55504e;
  --soft: #6b6361;
  --line: #ece5e0;
  --line-2: #ddd4cd;
  --accent: #f5821f;
  --accent-ink: #96500a;
  --accent-soft: #fdeee1;
  --good: #3d5742;
  --good-soft: #eaefe9;
  --panel: #231f20;
  --panel-surface: #2a2626;
  --panel-fg: #ffffff;
  --panel-muted: #c3bcb8;
  --panel-line: #3d3938;
  --panel-accent: #f9a85c;
  --wa: #1f9d55;
  --radius: 14px;
  --maxw: 1180px;
  --font-display: Outfit, "Trebuchet MS", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171514;
    --surface: #201d1c;
    --surface-2: #1b1818;
    --fg: #f5f1ee;
    --muted: #c7bfbb;
    --soft: #aaa29d;
    --line: #322d2c;
    --line-2: #3d3736;
    --accent: #f5821f;
    --accent-ink: #f9a85c;
    --accent-soft: #38281a;
    --good: #9dc2a5;
    --good-soft: #222d24;
    --panel: #0f0d0d;
    --panel-surface: #1a1716;
    --panel-line: #2b2726;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171514;
  --surface: #201d1c;
  --surface-2: #1b1818;
  --fg: #f5f1ee;
  --muted: #c7bfbb;
  --soft: #aaa29d;
  --line: #322d2c;
  --line-2: #3d3736;
  --accent: #f5821f;
  --accent-ink: #f9a85c;
  --accent-soft: #38281a;
  --good: #9dc2a5;
  --good-soft: #222d24;
  --panel: #0f0d0d;
  --panel-surface: #1a1716;
  --panel-line: #2b2726;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }

/* ---------- marka ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.mark {
  width: 40px; height: 40px; border-radius: 11px;
  border: 2.5px solid var(--fg);
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}
.mark span { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1; margin-top: -1px; }
.mark i { position: absolute; right: 5px; bottom: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.brand b { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- üst bar ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--accent-ink); }
.nav a[aria-current="page"] { color: var(--fg); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px; border-radius: 9px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-align: center;
}
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-ink); color: #ffffff; }
.btn-ghost { border-color: var(--line-2); background: var(--surface); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-wa { background: var(--wa); color: #ffffff; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.menu-btn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-2); border-radius: 9px; color: var(--fg); cursor: pointer; }
#mobil-menu { display: none; border-bottom: 1px solid var(--line); background: var(--surface); }
#mobil-menu.acik { display: block; }
#mobil-menu ul { display: flex; flex-direction: column; }
#mobil-menu a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
#mobil-menu li:last-child a { border-bottom: 0; }

/* ---------- tipografi blokları ---------- */
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; color: var(--accent-ink); text-transform: uppercase; }
.h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.035em; }
.h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -0.028em; }
.h3 { font-size: clamp(20px, 2vw, 23px); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.62; color: var(--muted); max-width: 62ch; }
.body { font-size: 15.5px; line-height: 1.62; color: var(--muted); }
.small { font-size: 14px; color: var(--soft); line-height: 1.55; }
section { padding-block: clamp(56px, 7vw, 92px); }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; }

/* ---------- kartlar ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; min-width: 0; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ikon { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.ikon svg { stroke: var(--accent-ink); }
.tik { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--muted); }
.tik svg { flex-shrink: 0; margin-top: 3px; stroke: var(--accent-ink); }
.rozet { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.rozet-turuncu { background: var(--accent-soft); color: var(--accent-ink); }
.rozet-yesil { background: var(--good-soft); color: var(--good); }
.rozet-notr { background: var(--line); color: var(--muted); }
.link-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--accent-ink); }
.link-ok:hover { text-decoration: underline; }

/* ---------- koyu panel ---------- */
.panel { background: var(--panel); color: var(--panel-fg); border-radius: 16px; padding: clamp(32px, 4vw, 58px); }
.panel h2, .panel h3 { color: var(--panel-fg); }
.panel .body, .panel .lead { color: var(--panel-muted); }
.panel .eyebrow { color: var(--panel-accent); }
.panel .kutu { background: var(--panel-surface); border: 1px solid var(--panel-line); border-radius: 13px; padding: 26px 24px; }
.panel .cizgi { border: 1px solid var(--panel-line); border-radius: 11px; padding: 20px 22px; }

/* ---------- hero uygulama penceresi ---------- */
.pencere { border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 40px rgba(35, 31, 32, 0.1); }
.pencere-bar { display: flex; align-items: center; justify-content: space-between; background: var(--line); border-bottom: 1px solid var(--line-2); padding-left: 12px; min-height: 36px; }
.pencere-bar .ad { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.pencere-mark { width: 17px; height: 17px; border: 1.5px solid var(--muted); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--muted); }
.pencere-btn { width: 40px; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.pencere-kapat { background: #c94a3c; }
.pencere-menu { display: flex; gap: 18px; padding: 7px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); overflow-x: auto; white-space: nowrap; }
.pencere-govde { display: flex; }
.pencere-yan { width: 168px; flex-shrink: 0; border-right: 1px solid var(--line); padding: 14px 10px; background: var(--surface-2); }
.pencere-yan div { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 6px; font-size: 13px; color: var(--soft); }
.pencere-yan div.aktif { background: var(--accent-soft); color: var(--fg); font-weight: 600; }
.pencere-ic { flex-grow: 1; padding: 18px 20px; min-width: 0; }
.satir { border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pencere-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 14px; background: var(--surface-2); border-top: 1px solid var(--line); font-size: 11.5px; color: var(--soft); }

/* ---------- aşama şeridi ---------- */
.serit { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.serit > div { border: 1px solid var(--line-2); border-radius: 10px; padding: 16px 14px; background: var(--surface-2); }
.serit > div.kilit { border: 2px solid var(--accent); background: var(--accent-soft); }

/* ---------- tablo ---------- */
.tablo { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.tablo .tr { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.tablo .tr:last-child { border-bottom: 0; }
.tablo .th { background: var(--surface-2); font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; color: var(--soft); text-transform: uppercase; }
.tablo .td { padding: 20px 24px; font-size: 15px; color: var(--muted); min-width: 0; }
.tablo .th .td { padding-block: 16px; }
.tablo .td:first-child { font-weight: 600; color: var(--fg); }

/* ---------- whatsapp ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--wa); color: #ffffff; font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 26px rgba(31, 157, 85, 0.34);
}
.wa-fab svg { flex-shrink: 0; }

/* ---------- form ---------- */
label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 7px; }
input, textarea, select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--fg);
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 13px 14px; min-height: 48px;
}
textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.secim { display: flex; gap: 10px; flex-wrap: wrap; }
.secim label { flex: 1 1 150px; display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0; min-height: 48px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface-2); font-weight: 500; cursor: pointer; }
.secim input { width: auto; min-height: 0; accent-color: var(--accent); }
.onay { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--muted); font-weight: 400; line-height: 1.55; }
.onay input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 52px 36px; }
.footer-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; }
.footer-kol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-kol h4 { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--soft); text-transform: uppercase; font-family: var(--font-body); }
.footer-kol a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--muted); }
.footer-kol a:hover { color: var(--accent-ink); }
.footer-alt { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13.5px; color: var(--soft); }

/* ---------- dar ekran ---------- */
@media (max-width: 1000px) {
  .nav, .topbar .btn { display: none; }
  .menu-btn { display: flex; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .serit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .serit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yan-yana { flex-direction: column !important; }
  .yan-yana > * { width: 100% !important; }
  .pencere-yan { display: none; }
  .tablo .tr { grid-template-columns: 1fr; }
  .tablo .th { display: none; }
  .tablo .td { padding: 14px 18px; }
  .tablo .td:first-child { padding-top: 20px; }
  .tablo .td[data-k]::before { content: attr(data-k); display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; color: var(--soft); text-transform: uppercase; margin-bottom: 5px; }
  .footer-kol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-fab { height: 52px; padding: 0 18px 0 15px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
