/* ============================================================
   DÜZELTI CMS — Stil
   Kimlik: kâğıt & mürekkep, editörün kırmızı düzeltme kalemi,
   redaksiyon imleri (karet ^, pilcrow ¶).
   ============================================================ */

:root {
  --paper:        #faf8f4;
  --paper-card:   #ffffff;
  --paper-tint:   #f3efe7;
  --ink:          #1c1b19;
  --ink-soft:     #5c574f;
  --ink-faint:    #8b857a;
  --red:          #c0392b;   /* düzeltme kalemi */
  --red-deep:     #9e2b1e;
  --red-wash:     #fbeeec;
  --slate:        #2e4057;   /* editör notu mavisi */
  --hair:         #e7e1d6;
  --hair-strong:  #d8d1c3;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1140px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(28,27,25,.06);
  --shadow-md: 0 6px 24px rgba(28,27,25,.08);
  --shadow-lg: 0 18px 48px rgba(28,27,25,.12);
}

/* ---------- Sıfırlama ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--red); color: #fff; font-family: var(--sans);
  font-weight: 600; font-size: 16px; padding: 13px 26px;
  border: 0; border-radius: var(--radius); cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--red-deep); text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--hair-strong); }
.btn-ghost:hover { background: var(--paper-tint); border-color: var(--ink); }
.btn-slate { background: var(--slate); }
.btn-slate:hover { background: #22303f; }

/* ---------- Başlık / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,.92); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hair);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--red); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.brand-text small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block; color: var(--ink-soft); font-weight: 500; font-size: 15px;
  padding: 8px 13px; border-radius: var(--radius);
}
.site-nav a:hover { color: var(--ink); background: var(--paper-tint); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--red-deep); }
.nav-cta a { color: #fff !important; }
.nav-cta a:hover { color: #fff !important; background: var(--red-deep); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .2s; }

/* ---------- Ortak bölüm ---------- */
.section { padding: 72px 0; }
.section--tint { background: var(--paper-tint); }
.section--ink { background: var(--ink); color: #f6f2ea; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: "¶"; font-family: var(--serif); font-size: 15px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--ink-soft); font-size: 18px; margin-bottom: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 78px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 22px; }
.hero h1 .corrected { position: relative; white-space: nowrap; }
.hero h1 .corrected s { color: var(--ink-faint); text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.hero h1 .corrected em {
  font-style: normal; color: var(--red-deep); position: relative;
}
.hero h1 .corrected em::after {
  content: "^"; position: absolute; left: 50%; bottom: -.42em; transform: translateX(-50%);
  color: var(--red); font-size: .5em; font-weight: 700;
}
.hero-lede { font-size: 19px; color: var(--ink-soft); max-width: 48ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--ink-faint); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before { content: "✓"; color: var(--red); font-weight: 700; }

/* Hero görsel: "düzeltilmiş metin" kartı */
.proof-card {
  background: var(--paper-card); border: 1px solid var(--hair);
  border-radius: 8px; box-shadow: var(--shadow-lg); padding: 30px 32px;
  position: relative; transform: rotate(-1.4deg);
}
.proof-card::before {
  content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 1px;
  background: repeating-linear-gradient(var(--red-wash) 0 6px, transparent 6px 12px);
}
.proof-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); font-family: var(--sans); font-weight: 600; margin-bottom: 18px; }
.proof-line { font-family: var(--serif); font-size: 18px; line-height: 2; padding-left: 14px; }
.proof-line s { color: var(--ink-faint); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.proof-line ins { text-decoration: none; color: var(--red-deep); font-weight: 600; }
.proof-line .caret { color: var(--red); font-weight: 700; }
.proof-stamp {
  position: absolute; right: -14px; bottom: -14px; background: var(--red); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .05em; padding: 10px 16px;
  border-radius: var(--radius); transform: rotate(4deg); box-shadow: var(--shadow-md);
}

/* ============================================================
   HİZMET KARTLARI
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper-card); border: 1px solid var(--hair); border-radius: 6px;
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--hair-strong); text-decoration: none; }
.card-icon {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--red-wash); color: var(--red); border-radius: 8px; margin-bottom: 18px; font-size: 22px;
}
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--red-deep); text-decoration: none; }
.card p { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; flex: 1; }
.card .more { font-weight: 600; color: var(--red-deep); font-size: 15px; }
.card .more::after { content: " →"; }

/* ============================================================
   SÜREÇ (numaralı — gerçek sıra)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--red);
  border: 1.5px solid var(--red); width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ============================================================
   NEDEN BİZ
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 40px; }
.feature { padding-left: 20px; border-left: 2px solid var(--red); }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* ============================================================
   İSTATİSTİK ŞERİDİ
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); color: var(--red); line-height: 1; }
.stat .lbl { font-size: 14px; color: var(--ink-faint); margin-top: 8px; letter-spacing: .04em; }
.section--ink .stat .lbl { color: #b9b2a6; }

/* ============================================================
   GÖRÜŞLER
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--paper-card); border: 1px solid var(--hair); border-radius: 6px; padding: 28px; }
.quote .mark { font-family: var(--serif); font-size: 48px; color: var(--red); line-height: .5; }
.quote blockquote { font-family: var(--serif); font-size: 18px; line-height: 1.6; margin: 14px 0 18px; color: var(--ink); }
.quote .who { font-size: 14px; color: var(--ink-faint); }
.quote .who strong { color: var(--ink); display: block; font-family: var(--sans); }

/* ============================================================
   SSS
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--hair); padding: 6px 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative;
  font-family: var(--serif); font-size: 20px; color: var(--ink); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--red); font-size: 26px; font-weight: 300; transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 40px 18px 0; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ============================================================
   CTA ŞERİDİ
   ============================================================ */
.cta-band { background: var(--red); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
.cta-band p { color: #ffe6e2; font-size: 18px; max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn { background: #fff; color: var(--red-deep); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* ============================================================
   İÇ SAYFA / PROSE
   ============================================================ */
.page-hero { padding: 56px 0 8px; }
.page-hero .eyebrow { justify-content: flex-start; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 48px); max-width: 20ch; }
.page-hero .lede { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }

.breadcrumb { font-size: 13.5px; color: var(--ink-faint); padding: 22px 0 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span { margin: 0 6px; }

.prose { max-width: 720px; }
.prose > * { margin-left: auto; margin-right: auto; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 23px; margin: 1.4em 0 .4em; }
.prose p, .prose ul, .prose ol { font-size: 18px; color: #2b2925; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose ul li::marker { color: var(--red); }
.prose blockquote {
  border-left: 3px solid var(--red); background: var(--red-wash);
  margin: 1.4em 0; padding: 16px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif); font-size: 20px; color: var(--ink);
}
.prose blockquote p { font-size: 20px; margin: 0; }
.prose a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 6px; margin: 1.6em auto; box-shadow: var(--shadow-md); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--hair-strong); padding: 10px 14px; text-align: left; }
.prose th { background: var(--paper-tint); font-family: var(--sans); }
.prose hr { border: 0; border-top: 1px solid var(--hair); margin: 2.2em 0; }

.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; padding: 40px 0 72px; }
.sidebar { position: sticky; top: 96px; }
.sidebar-box { background: var(--paper-card); border: 1px solid var(--hair); border-radius: 6px; padding: 24px; margin-bottom: 24px; }
.sidebar-box h3 { font-size: 18px; }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li { padding: 7px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.sidebar-box li:last-child { border-bottom: 0; }

/* ============================================================
   BLOG LİSTE
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: var(--paper-card); border: 1px solid var(--hair); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.post-card .thumb { aspect-ratio: 16/9; background: var(--paper-tint); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.post-card h3 { font-size: 21px; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--red-deep); text-decoration: none; }
.post-card p { font-size: 15.5px; color: var(--ink-soft); flex: 1; margin-bottom: 14px; }
.post-meta { font-size: 13px; color: var(--ink-faint); }

/* Yazı üst bilgisi */
.post-header { max-width: 760px; margin: 0 auto; text-align: center; padding: 44px 0 0; }
.post-header h1 { font-size: clamp(30px, 4.6vw, 46px); margin: 14px 0 18px; }
.post-header .post-meta { justify-content: center; }
.post-cover { max-width: 960px; margin: 36px auto 0; }
.post-cover img { border-radius: 8px; box-shadow: var(--shadow-md); width: 100%; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.tags a { font-size: 13px; background: var(--paper-tint); color: var(--ink-soft); padding: 6px 12px; border-radius: 20px; }
.tags a:hover { background: var(--red-wash); color: var(--red-deep); text-decoration: none; }

/* ============================================================
   İLETİŞİM / FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--hair-strong);
  border-radius: var(--radius); font-family: var(--sans); font-size: 16px; background: var(--paper-card);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); outline: none; }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-faint); }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 15px; }
.alert-ok { background: #eaf5ec; color: #1f6a34; border: 1px solid #bfe0c6; }
.alert-err { background: var(--red-wash); color: var(--red-deep); border: 1px solid #f0c9c4; }
.contact-info li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); list-style: none; }
.contact-info ul { padding: 0; margin: 0; }
.contact-info .k { font-weight: 600; min-width: 90px; }

/* ============================================================
   404
   ============================================================ */
.errbox { text-align: center; padding: 100px 0; }
.errbox .code { font-family: var(--serif); font-size: 96px; color: var(--red); line-height: 1; }
.errbox .code s { text-decoration-color: var(--ink-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #cfc9bd; padding: 60px 0 24px; margin-top: 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { color: #a49e93; max-width: 32ch; margin-top: 14px; }
.brand--footer strong { color: #fff; font-size: 22px; }
.brand--footer .brand-mark { color: var(--red); }
.footer-col h3 { color: #fff; font-size: 15px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a, .footer-contact a { color: #cfc9bd; }
.footer-col a:hover, .footer-contact a:hover { color: #fff; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.footer-social a { font-size: 13px; color: #a49e93; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 13.5px; color: #8b857a; }
.footer-bottom a { color: #a49e93; }
.to-top:hover { color: #fff; }

/* ============================================================
   YARDIMCI
   ============================================================ */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.lead-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   DUYARLI (RESPONSIVE)
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .proof-card { transform: none; max-width: 440px; }
  .cards, .quotes, .post-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 74px 0 auto 0; background: var(--paper);
    border-bottom: 1px solid var(--hair); transform: translateY(-120%);
    transition: transform .25s ease; box-shadow: var(--shadow-md);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 22px 20px; gap: 2px; }
  .site-nav a { padding: 12px 8px; font-size: 17px; border-bottom: 1px solid var(--hair); }
  .nav-cta { margin-top: 8px; }
  .nav-cta a { text-align: center; }
  .cards, .quotes, .post-grid, .feature-grid, .steps, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .hero h1 .corrected { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
