/* ===================================================================
   KEY İNŞAAT — HİZMET & REHBER SAYFALARI
   blog.css (ve dolayısıyla styles.css) üzerine eklenir.
   =================================================================== */

/* Kenar çubuğu: içindekiler sabit değil, teklif kartı yapışkan */
.svc-page .sidebar-toc,
.post-page .sidebar-toc { position: static; }
.svc-page .article-sidebar .sidebar-cta-card,
.post-page .article-sidebar .sidebar-cta-card { position: sticky; top: 100px; }

/* Hero eylemleri */
.svc-hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 0 0 30px;
}
.svc-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.42);
  color: white;
  padding: 15px 20px;
  font-size: 14px;
  transition: background .25s, color .25s, border-color .25s;
}
.svc-ghost span { color: var(--orange); }
.svc-ghost:hover { background: white; color: var(--black); border-color: white; }
.svc-page .article-meta-row span b:first-child { color: var(--orange); margin-right: 2px; }

/* "Kısaca" — yanıt öncelikli özet (GEO) */
.tldr {
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 2px 22px 2px 22px;
  padding: 24px 28px 6px;
  margin: 0 0 44px;
}
.tldr > span {
  display: block;
  font: 600 10.5px "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--orange-deep);
  margin-bottom: 10px;
}
.tldr p { font-size: 16.5px; line-height: 1.75; color: #24201c; }

/* Kapsam kartları */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 30px;
}
.scope-grid > div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 2px 18px 2px 18px;
  padding: 20px 20px 6px;
}
.scope-grid h3 {
  margin: 0 0 8px !important;
  font-size: 16.5px !important;
}
.scope-grid h3 a { color: inherit; text-decoration: none; }
.scope-grid h3 a:hover { color: var(--orange-deep); }
.scope-grid p { font-size: 14.5px !important; line-height: 1.7 !important; margin-bottom: 14px !important; }

/* Tablo */
.table-wrap { overflow-x: auto; margin: 10px 0 30px; -webkit-overflow-scrolling: touch; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 14.5px;
  line-height: 1.55;
  min-width: 520px;
}
.article-body th,
.article-body td {
  text-align: left;
  vertical-align: top;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: #3a3531;
}
.article-body thead th {
  background: #14100c;
  color: white;
  font: 600 12px "Manrope", sans-serif;
  letter-spacing: .04em;
}
.article-body tbody tr:nth-child(even) td { background: #faf8f4; }
.article-body td:first-child { font-weight: 600; color: #141414; }

/* Adım listesi */
.steps { list-style: none; padding: 0 !important; counter-reset: s; margin: 8px 0 30px !important; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 18px 58px !important;
  margin: 0 0 18px !important;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #14100c;
  color: var(--orange);
  font: 600 13px/40px "Manrope", sans-serif;
  text-align: center;
}
.steps li:last-child { border-bottom: 0; }
.steps strong { display: block; margin-bottom: 2px; }

/* Kontrol listesi */
.check-list { list-style: none; padding-left: 0 !important; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(243,107,33,.14);
  color: var(--orange-deep);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  font-weight: 700;
}

/* Mahalle çipleri */
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 28px; padding: 0 !important; list-style: none; }
.area-chips li {
  margin: 0 !important;
  font-size: 13px;
  background: white;
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
  color: #3a3531;
}

/* Kenar çubuğu hizmet bağlantıları */
.sidebar-links a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  line-height: 1.3;
}
.sidebar-links a:last-child { border-bottom: 0; }
.sidebar-links b { display: block; font: 500 13.5px "Manrope", sans-serif; color: #1a1714; }
.sidebar-links small { font-size: 11.5px; color: #8a837a; }
.sidebar-links a:hover b,
.sidebar-links a.is-current b { color: var(--orange-deep); }
.sidebar-links a.is-current b::after { content: " ●"; font-size: 8px; vertical-align: middle; }
.sidebar-nap a { color: var(--orange-deep); }

/* Alt CTA bandı */
.cta-band {
  margin: 30px 8vw 90px;
  background: #14100c;
  color: white;
  border-radius: 4px 50px 4px 50px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px; top: -160px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,107,33,.22), transparent 70%);
  pointer-events: none;
}
.cta-kicker {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.cta-band h2 {
  font: 400 clamp(24px, 2.6vw, 38px)/1.15 "Manrope", sans-serif;
  letter-spacing: -.03em;
  margin: 0 0 12px;
  position: relative;
}
.cta-band p { color: rgba(255,255,255,.6); margin: 0; max-width: 560px; position: relative; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* Ana sayfa: tadilat hizmet şeridi */
.repair-services { background: #f4f1eb; padding: 110px 8vw 100px; }
.repair-services .repair-head { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; margin-bottom: 46px; }
.repair-services h2 { font: 300 clamp(34px, 4.2vw, 64px)/1.04 "Manrope", sans-serif; letter-spacing: -.05em; margin: 18px 0 0; }
.repair-services h2 span { font-family: Georgia, serif; font-style: italic; color: var(--orange-deep); }
.repair-services .repair-head p { color: #56524d; margin: 0; max-width: 560px; }
.repair-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.repair-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 2px 26px 2px 26px;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.repair-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,14,9,.09); border-color: rgba(243,107,33,.45); }
.repair-card i { font-style: normal; font: 600 11px "Manrope", sans-serif; color: var(--orange-deep); letter-spacing: .14em; }
.repair-card h3 { font: 500 22px/1.2 "Manrope", sans-serif; letter-spacing: -.025em; margin: 16px 0 10px; }
.repair-card p { color: #5f5a53; font-size: 14.5px; line-height: 1.65; margin: 0 0 18px; flex: 1; }
.repair-card b { font-size: 12.5px; font-weight: 600; }
.repair-card b span { color: var(--orange); }
.repair-areas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.repair-areas small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8a837a; margin-right: 8px; }
.repair-areas span { font-size: 12.5px; border: 1px solid var(--line); background: white; padding: 6px 12px; border-radius: 999px; color: #3a3531; }

/* Blog listesi: yeni öne çıkan bant */
.blog-feature-note { padding: 0 8vw; margin: 0 0 18px; font-size: 13px; color: #6a645c; }

@media (max-width: 980px) {
  .cta-band { grid-template-columns: 1fr; padding: 40px 30px; margin: 20px 6vw 70px; }
  .repair-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .repair-services .repair-head { grid-template-columns: 1fr; gap: 18px; }
  .svc-page .article-sidebar .sidebar-cta-card,
  .post-page .article-sidebar .sidebar-cta-card { position: static; }
}
@media (max-width: 680px) {
  .scope-grid { grid-template-columns: 1fr; }
  .repair-grid { grid-template-columns: 1fr; }
  .repair-services { padding: 80px 5vw 70px; }
  .cta-band { margin: 10px 5vw 60px; border-radius: 4px 32px 4px 32px; }
  .svc-hero-actions .button, .svc-hero-actions .svc-ghost { width: 100%; justify-content: space-between; }
  .tldr { padding: 20px 20px 4px; }
}

/* Kapak görseli: 16:9 tam görünür */
.svc-page .article-cover img,
.post-page .article-cover img { max-height: none; aspect-ratio: 16 / 9; height: auto; }
.svc-page .article-body-wrap,
.post-page .article-body-wrap { align-items: stretch; }
