/* ===== Denge Avukatlık — Base styles ===== */
:root {
  --c-primary: #1a3a5c;
  --c-primary-dark: #122a44;
  --c-accent: #b8924c;
  --c-accent-dark: #97743a;
  --c-text: #1f2937;
  --c-text-muted: #4b5563;
  --c-bg: #ffffff;
  --c-bg-alt: #f7f5f1;
  --c-border: #e5e1d8;
  --c-success: #16a34a;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --container: 1140px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--c-primary);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2em; }
h3 { font-size: 1.25rem; margin-top: 1.6em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

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

/* ===== Top bar ===== */
.topbar {
  background: var(--c-primary-dark);
  color: #e6e8eb;
  font-size: 14px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topbar a { color: #e6e8eb; }
.topbar span + span { margin-left: 18px; }

/* ===== Header / Nav ===== */
.site-header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.5px;
}
.brand-tag {
  font-size: 0.75rem;
  color: var(--c-accent-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--c-text);
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--c-bg-alt);
  color: var(--c-primary);
}
.nav-cta {
  background: var(--c-accent);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--c-accent-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--c-border);
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #f5f5f0;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(184,146,76,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-center { max-width: 940px; text-align: center; }
.hero-center h1 { margin-left: auto; margin-right: auto; max-width: 880px; }
.hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center .hero-cta { justify-content: center; }
.hero-center .trust-row { justify-content: center; }
.hero-facts {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-facts .hf { text-align: center; }
.hero-facts .hf-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  letter-spacing: 1px;
}
.hero-facts .hf-lbl {
  display: block;
  margin-top: 9px;
  font-size: 0.85rem;
  color: #cbd5e1;
  letter-spacing: 0.4px;
}
.hero-facts .hf-div { width: 1px; height: 48px; background: rgba(255,255,255,0.18); }
@media (max-width: 860px) {
  .hero-facts { gap: 30px; margin-top: 32px; padding-top: 26px; }
  .hero-facts .hf-num { font-size: 2.1rem; }
}
.hero h1 {
  color: #ffffff;
  max-width: 800px;
  margin-bottom: 18px;
}
.hero .lead {
  font-size: 1.15rem;
  max-width: 720px;
  color: #e6e8eb;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-dark { background: var(--c-primary); color: #fff; }
.btn-dark:hover { background: var(--c-primary-dark); }

/* ===== Sections ===== */
section { padding: 60px 0; }
section.alt { background: var(--c-bg-alt); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { margin-top: 0; }
.section-head p { max-width: 700px; margin: 0 auto; color: var(--c-text-muted); }

/* ===== Cards / grid ===== */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.05s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-top: 0; color: var(--c-primary); }
.card .icon {
  display: inline-flex;
  width: 48px; height: 48px;
  background: var(--c-bg-alt);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--c-accent-dark);
  margin-bottom: 14px;
}
.card-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--c-accent-dark);
}
.card-link::after { content: " →"; }

/* ===== Article (long content pages) ===== */
.article-header {
  background: var(--c-bg-alt);
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--c-text-muted); }
.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 20px;
}
.article h2 { border-bottom: 2px solid var(--c-accent); padding-bottom: 8px; display: inline-block; }
.article ul li::marker { color: var(--c-accent); }
.article blockquote {
  border-left: 4px solid var(--c-accent);
  background: var(--c-bg-alt);
  padding: 16px 22px;
  margin: 22px 0;
  font-style: italic;
  color: var(--c-text-muted);
}
.toc {
  background: var(--c-bg-alt);
  border-left: 4px solid var(--c-primary);
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.toc strong { display: block; margin-bottom: 8px; color: var(--c-primary); }
.toc ol { margin: 0; padding-left: 1.2em; }

/* ===== FAQ ===== */
.faq details {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 12px;
  background: var(--c-bg);
  overflow: hidden;
}
.faq summary {
  padding: 16px 22px;
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--c-accent);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--c-border); }
.faq .answer { padding: 16px 22px; color: var(--c-text); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ===== Attorney profile ===== */
.attorney {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.attorney-photo {
  width: 180px;
  height: 220px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top center;
  background: var(--c-bg-alt);
  display: block;
  box-shadow: var(--shadow-sm);
}
.attorney h3 { margin-top: 0; }
.attorney .credentials {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  font-size: 0.95rem;
  color: var(--c-text-muted);
}
.attorney .credentials li {
  padding: 4px 0;
  border-bottom: 1px dashed var(--c-border);
}

/* ===== Contact block ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-info-item .label {
  font-weight: 600;
  color: var(--c-primary);
  min-width: 110px;
}
.map-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Blog list ===== */
.post-card {
  display: block;
  padding: 24px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease;
}
.post-card:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.post-card h3 { margin: 0 0 8px; color: var(--c-primary); }
.post-card .meta { font-size: 0.85rem; color: var(--c-text-muted); margin-bottom: 10px; }
.post-card .excerpt { color: var(--c-text-muted); margin: 0; }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--c-primary);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-top: 0; }
.cta-banner p { color: #e6e8eb; max-width: 600px; margin: 0 auto 24px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--c-primary-dark);
  color: #cbd5e1;
  padding: 50px 0 20px;
  margin-top: 40px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: var(--c-accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
}
.disclaimer {
  background: rgba(0,0,0,0.2);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--c-text-muted); }
.tag {
  display: inline-block;
  background: var(--c-bg-alt);
  color: var(--c-primary);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 4px;
}

/* ============================================================
   DESIGN UPGRADE — floating buttons, trust, animations, polish
   ============================================================ */

/* Progressive-enhancement reveal: only hides when JS is on */
.js-on .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-on .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-on .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* Floating action buttons (WhatsApp + Ara) */
.fab-group {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  display: flex;
  align-items: center;
  gap: 0;
  height: 56px;
  padding: 0;
  width: 56px;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  overflow: hidden;
  transition: width 0.28s ease, box-shadow 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}
.fab:hover { box-shadow: 0 8px 26px rgba(0,0,0,0.32); transform: translateY(-1px); }
.fab .fab-ico {
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fab .fab-label {
  font-weight: 700;
  font-size: 1rem;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.2s ease, max-width 0.28s ease, padding 0.28s ease;
  padding-right: 0;
}
.fab:hover .fab-label,
.fab:focus .fab-label { opacity: 1; max-width: 140px; padding-right: 22px; }
.fab:hover, .fab:focus { width: 190px; }
.fab-wa { background: #25D366; }
.fab-call { background: var(--c-accent); }
/* On touch / small screens always show label for clarity */
@media (max-width: 720px) {
  .fab { width: auto; }
  .fab .fab-label { opacity: 1; max-width: 140px; padding-right: 20px; }
  .fab-group { right: 12px; bottom: 12px; gap: 10px; }
}

/* Pulse ring on WhatsApp to draw attention */
.fab-wa { position: relative; }
.fab-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.5);
  animation: fabPulse 2.4s infinite;
}
@keyframes fabPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .fab-wa::after { animation: none; } }

/* Back to top */
.back-to-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--c-primary);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--c-primary-dark); }
@media (max-width: 720px) { .back-to-top { left: 12px; bottom: 12px; width: 42px; height: 42px; } }

/* Trust badges row (hero) */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 9px 16px 9px 12px;
  color: #f5f5f0;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.trust-badge .tb-ico {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-accent);
  border-radius: 50%;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Big quick-access help cards (homepage) */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.help-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 30px 26px;
  text-decoration: none !important;
  color: var(--c-text);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.help-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--c-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.22s ease;
}
.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(26,58,92,0.14);
  border-color: var(--c-accent);
}
.help-card:hover::before { transform: scaleY(1); }
.help-card .help-ico {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--c-bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 16px;
  transition: background 0.2s ease;
}
.help-card:hover .help-ico { background: var(--c-primary); }
.help-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.help-card p { margin: 0 0 14px; color: var(--c-text-muted); font-size: 0.95rem; line-height: 1.5; }
.help-card .help-go {
  margin-top: auto;
  font-weight: 700;
  color: var(--c-accent-dark);
  font-size: 0.95rem;
}
.help-card .help-go::after { content: " →"; transition: margin 0.2s ease; }
.help-card:hover .help-go::after { margin-left: 4px; }

/* Section heading accent (kicker) */
.kicker {
  display: inline-block;
  color: var(--c-accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Card hover polish (existing .card) */
.card { transition: transform 0.18s ease, box-shadow 0.18s ease; }

/* Smoother button press */
.btn:active { transform: translateY(1px); }

/* Hero pattern overlay enhancement */
.hero { position: relative; }

/* ===== Pillar content components (case cards, process flow, stats) ===== */

/* Stat grid — büyük rakam + altında küçük etiket */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 32px 0;
}
.stat-box {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}
.stat-box .num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-box .lbl {
  display: block;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Yargıtay / İçtihat karar kartı */
.case-card {
  background: linear-gradient(135deg, #fbf8f0 0%, #f7f5f1 100%);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0;
  position: relative;
}
.case-card .case-meta {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.case-card h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--c-primary);
  font-family: var(--font-heading);
}
.case-card p { margin: 0; font-size: 0.95rem; }
.case-card p + p { margin-top: 8px; }
.case-card .case-principle {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-border);
  font-style: italic;
  color: var(--c-text-muted);
}
.case-card .case-quote {
  margin-top: 10px;
  padding: 10px 14px;
  background: #fff;
  border-left: 3px solid var(--c-primary);
  border-radius: 4px;
  font-size: 0.9rem;
}
.case-card .case-quote span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 4px;
}
.case-card .case-quote em { font-style: italic; }

/* Kanun maddesi alıntı bloğu */
.legal-quote {
  background: #f7f5f1;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 22px 0;
  position: relative;
}
.legal-quote::before {
  content: "§";
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--c-accent);
  opacity: 0.3;
  line-height: 1;
}
.legal-quote .law-ref {
  display: block;
  font-size: 0.8rem;
  color: var(--c-accent-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.legal-quote .law-text {
  margin: 0;
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--c-text);
  line-height: 1.6;
}

/* Süreç akış diyagramı (CSS only, dikey) */
.process-flow {
  margin: 32px 0;
  counter-reset: step;
}
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding-bottom: 30px;
  position: relative;
}
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: var(--c-border);
}
.process-step .step-num {
  counter-increment: step;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 1;
  position: relative;
}
.process-step .step-num::before { content: counter(step); }
.process-step .step-content h4 {
  margin: 10px 0 6px;
  font-size: 1.15rem;
  color: var(--c-primary);
}
.process-step .step-content p { margin: 0 0 6px; }
.process-step .step-meta {
  display: inline-block;
  background: var(--c-bg-alt);
  color: var(--c-accent-dark);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 6px;
}

/* Karşılaştırma tablosu (nafaka türleri, dava türleri) */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table thead th {
  background: var(--c-primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}
.compare-table tbody td {
  padding: 12px 16px;
  border-top: 1px solid var(--c-border);
  vertical-align: top;
}
.compare-table tbody tr:nth-child(even) td { background: var(--c-bg-alt); }
.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--c-primary);
  white-space: nowrap;
}

/* Yazar kartı (E-E-A-T için) */
.author-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 30px 0;
}
.author-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}
.author-card .author-meta { font-size: 0.95rem; }
.author-card .author-meta strong {
  display: block;
  color: var(--c-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.author-card .author-meta .role {
  display: block;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 6px;
}
.author-card .author-meta a { color: var(--c-accent-dark); font-weight: 600; }

/* İçindekiler kutusu (gelişmiş) */
.toc-deep {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-primary);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
}
.toc-deep > strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--c-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--c-border);
}
.toc-deep ol {
  margin: 0;
  padding-left: 1.4em;
  columns: 2;
  column-gap: 30px;
}
.toc-deep ol li {
  margin-bottom: 6px;
  break-inside: avoid;
}
.toc-deep ol li a { color: var(--c-text); }
.toc-deep ol li a:hover { color: var(--c-primary); }

/* İlgili yazılar */
.related-posts {
  background: var(--c-bg-alt);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}
.related-posts h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--c-primary);
}
.related-posts ul { list-style: none; padding: 0; margin: 0; }
.related-posts li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--c-border);
}
.related-posts li:last-child { border-bottom: none; }
.related-posts li::before { content: "📄 "; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .toc-deep ol { columns: 1; }
  .author-card { grid-template-columns: 1fr; text-align: center; }
  .author-card img { margin: 0 auto; }
  .compare-table { font-size: 0.85rem; }
  .compare-table thead th, .compare-table tbody td { padding: 8px 10px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    /* iOS Safari için 100dvh (URL bar'ı hesaba katar); eski tarayıcılarda 100vh fallback */
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 14px; }
  /* iOS'ta dropdown-toggle çift dokunma gerektirmesin */
  .dropdown-toggle { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .nav-toggle { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  /* NOT: Arka plan scroll-kilidi (html.nav-locked / body.nav-open position:fixed)
     iOS Safari'de menüyü kilitlediği için kaldırıldı. Menü açıkken arka plan
     serbesttir; menü paneli .nav-links.open ile açılır/kapanır. */
  .site-header .nav { position: relative; }
  .attorney { grid-template-columns: 1fr; text-align: center; }
  .attorney-photo { margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar { display: none; }
  section { padding: 40px 0; }
  .hero { padding: 50px 0 45px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
}

/* ============================================================
   PRESTIGE UPGRADE — SVG icons, refined depth, editorial rhythm
   ============================================================ */

/* Richer, softer depth + a touch more roundness */
:root {
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(16,32,52,0.06), 0 2px 6px rgba(16,32,52,0.05);
  --shadow-md: 0 10px 30px rgba(16,32,52,0.10);
  --shadow-lg: 0 24px 60px rgba(16,32,52,0.16);
  --c-accent-dark: #8a6a30; /* daha koyu altın — beyaz üzerinde AA kontrast */
}

/* ---- Accessibility: skip link + keyboard focus ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--c-primary);
  color: #fff !important;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }
main:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
details:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---- Inline SVG line-icon base ---- */
.ico {
  width: 1.05em; height: 1.05em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.16em;
}

/* ---- Top bar refinement ---- */
.topbar { letter-spacing: 0.2px; }
.topbar .tb-group { display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar .tb-group > a,
.topbar .tb-group > span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-group span + span { margin-left: 0; }
.topbar .ico { width: 15px; height: 15px; stroke: var(--c-accent); stroke-width: 1.8; }
.topbar a:hover { text-decoration: none; color: #fff; }

/* ---- Buttons: icon alignment + refined feel ---- */
.btn { display: inline-flex; align-items: center; gap: 9px; letter-spacing: 0.2px; }
.btn-primary { box-shadow: 0 6px 18px rgba(184,146,76,0.28); }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(184,146,76,0.36); }
.btn .ico { width: 18px; height: 18px; }

/* ---- Editorial kicker with leading rule ---- */
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.65;
}
.section-head { margin-bottom: 48px; }
.section-head .kicker::before,
.section-head .kicker::after {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: currentColor;
  vertical-align: middle;
  opacity: 0.55;
}
.section-head .kicker::before { margin-right: 12px; }
.section-head .kicker::after { margin-left: 12px; }
.section-head h2 { position: relative; }
.section-head h2::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ---- Section rhythm ---- */
section { padding: 76px 0; }

/* ---- Hero: deeper, layered, more premium ---- */
.hero { padding: 92px 0 84px; }
.hero::after {
  background-image:
    radial-gradient(circle at 82% 18%, rgba(184,146,76,0.18) 0%, transparent 48%),
    radial-gradient(circle at 12% 95%, rgba(184,146,76,0.08) 0%, transparent 42%);
}
.hero h1 { letter-spacing: 0.3px; }
.hero .kicker { color: var(--c-accent) !important; }
.hero .kicker::after {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: currentColor;
  vertical-align: middle;
  margin-left: 10px;
  opacity: 0.65;
}

/* ---- Trust badges: refined icon chips ---- */
.trust-badge { transition: background 0.18s ease, border-color 0.18s ease, transform 0.1s ease; }
.trust-badge:hover { background: rgba(255,255,255,0.14); border-color: rgba(184,146,76,0.6); }
.tb-ico svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Help cards: SVG icons ---- */
.help-ico svg {
  width: 30px; height: 30px;
  fill: none; stroke: var(--c-accent-dark);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.2s ease;
}
.help-card:hover .help-ico svg { stroke: #fff; }
.help-card { box-shadow: var(--shadow-sm); }

/* ---- Generic cards: a bit more breathing room + depth ---- */
.card { border-radius: 10px; }

/* ---- Nav: gold active underline (nav-cta altın butonu HARİÇ) ---- */
.nav-links { gap: 2px; }
.nav-links a:not(.nav-cta) { padding: 8px 12px; }
.nav-links a:not(.nav-cta).active,
.nav-links a:not(.nav-cta):hover { background: transparent; position: relative; }
.nav-links a:not(.nav-cta).active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}
.nav-links a:not(.nav-cta):hover { color: var(--c-accent-dark); }
/* İletişim altın butonu: hover ve aktif durumda altın kalır (kaybolmaz) */
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active { background: var(--c-accent-dark); color: #fff !important; }

/* ---- Footer contact icons ---- */
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact .ico { width: 16px; height: 16px; stroke: var(--c-accent); margin-top: 3px; }

/* ---- Attorney + case cards subtle lift ---- */
.attorney { border-radius: 10px; box-shadow: var(--shadow-sm); }
.cta-banner { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%); }

@media (max-width: 860px) {
  .hero { padding: 56px 0 50px; }
  section { padding: 48px 0; }
}

/* ---- Header brand logo ---- */
.brand { flex-direction: row; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { width: 42px; height: 42px; flex-shrink: 0; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { white-space: nowrap; }
@media (max-width: 480px) { .brand-logo { width: 36px; height: 36px; } }

/* ---- Hizmetler açılır menüsü (dropdown) ---- */
.has-dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.dropdown-toggle .caret { font-size: 0.62em; transition: transform 0.18s ease; }
.has-dropdown:hover .dropdown-toggle .caret,
.has-dropdown:focus-within .dropdown-toggle .caret { transform: rotate(180deg); }
.nav-links .dropdown {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-links .dropdown li { margin: 0; }
.nav-links .dropdown a {
  display: block; padding: 10px 14px; border-radius: 6px;
  white-space: nowrap; color: var(--c-text); font-weight: 500;
}
.nav-links .dropdown a:hover,
.nav-links .dropdown a.active { background: var(--c-bg-alt); color: var(--c-primary); }
.nav-links .dropdown a.active { box-shadow: inset 3px 0 0 var(--c-accent); }
@media (max-width: 860px) {
  /* Mobil: dropdown varsayılan KAPALI; sadece .has-dropdown.open varken görünür */
  .nav-links .dropdown {
    position: static; box-shadow: none; border: 0; padding: 2px 0 6px 14px; min-width: 0;
    border-left: 2px solid var(--c-border); margin: 2px 0 4px 8px; border-radius: 0;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  /* Caret mobilde de görünür kalsın, kullanıcı aç/kapa olduğunu görsün */
  .dropdown-toggle .caret { display: inline-block; transition: transform 0.18s ease; }
  .has-dropdown.open .dropdown-toggle .caret { transform: rotate(180deg); }
  /* Hover ile değil sadece tıklama ile açılsın (hover dokunmatikte garip davranır) */
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { display: none; }
  .has-dropdown.open:hover .dropdown,
  .has-dropdown.open:focus-within .dropdown { display: block; }
}

/* ---- Footer slogan ---- */
.footer-slogan {
  color: var(--c-accent);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  margin: -4px 0 14px;
  letter-spacing: 0.3px;
}

/* ---- Contact form ---- */
.contact-form { margin-top: 8px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .field { margin-bottom: 16px; display: flex; flex-direction: column; }
.contact-form label { font-weight: 600; color: var(--c-primary); font-size: 0.9rem; margin-bottom: 6px; }
.contact-form label span { color: #c0392b; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-text);
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(184,146,76,0.18);
}
.contact-form textarea { resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form button { margin-top: 6px; }
.contact-form .form-note { font-size: 0.8rem; margin-top: 12px; }
@media (max-width: 600px) { .contact-form .form-row { grid-template-columns: 1fr; } }

/* KVKK onay kutusu */
.contact-form .consent-field { margin-bottom: 18px; }
.consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 400 !important; color: var(--c-text) !important;
  font-size: 0.86rem !important; line-height: 1.5; cursor: pointer; margin-bottom: 0 !important;
}
.consent-label input[type="checkbox"] {
  width: 18px !important; min-width: 18px; height: 18px; margin: 1px 0 0 0;
  accent-color: var(--c-primary); cursor: pointer; padding: 0;
}
.consent-label a { color: var(--c-accent-dark); font-weight: 600; text-decoration: underline; }
.consent-label .req { color: #c0392b; }

/* ---- Yasal metin sayfaları (KVKK, gizlilik) ---- */
.legal-doc { max-width: 820px; }
.legal-doc h2 { margin-top: 34px; font-size: 1.3rem; }
.legal-doc h3 { margin-top: 22px; font-size: 1.08rem; color: var(--c-primary); }
.legal-doc p, .legal-doc li { line-height: 1.75; }
.legal-doc ul, .legal-doc ol { margin: 10px 0 10px 4px; padding-left: 22px; }
.legal-doc li { margin-bottom: 7px; }
.legal-doc .updated { font-size: 0.88rem; color: var(--c-muted, #667); font-style: italic; margin-bottom: 8px; }
.legal-doc .legal-box {
  background: var(--c-bg-alt, #f5f2ec); border-left: 3px solid var(--c-accent);
  padding: 14px 18px; border-radius: 6px; margin: 18px 0; font-size: 0.95rem;
}
.footer-legal { margin-top: 4px; }
.footer-legal a { color: inherit; opacity: 0.85; }
.footer-legal a:hover { opacity: 1; }

/* Inline icon helpers for content */
.ico-ok { stroke: var(--c-success); stroke-width: 2.2; }
.ico-no { stroke: #c0392b; stroke-width: 2.2; }
.compare-table td .ico { width: 1.05em; height: 1.05em; margin-right: 5px; }
.toc-deep > strong .ico, .toc > strong .ico { stroke: var(--c-accent); margin-right: 7px; width: 1.1em; height: 1.1em; }
.card .icon svg { width: 26px; height: 26px; fill: none; stroke: var(--c-accent-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.iletisim-label .ico, .label .ico { stroke: var(--c-accent); margin-right: 7px; }
