/* ==========================================================================
   KENTSEL DÖNÜŞÜM SAYFASI
   ========================================================================== */

/* ---------- Hero ---------- */
.kd-hero {
  position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden;
  background: #0a0c10 url('../img/construction-quality.jpg') center / cover no-repeat;
  color: #fff; isolation: isolate;
}
.kd-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 30%, rgba(197, 155, 83, 0.22), transparent 55%),
    linear-gradient(100deg, rgba(8, 11, 17, 0.94) 0%, rgba(8, 11, 17, 0.78) 48%, rgba(8, 11, 17, 0.35) 100%);
}
.kd-hero-inner { padding: 5rem 0 7rem; max-width: 780px; }
.kd-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ecd093;
  background: rgba(197, 155, 83, 0.14); border: 1px solid rgba(236, 208, 147, 0.4); backdrop-filter: blur(6px);
}
.kd-title {
  margin: 1.4rem 0 1.2rem; font-family: var(--font-accent, inherit); font-weight: 800;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.1; letter-spacing: -0.02em; color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.kd-title .gold { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7)); }
.kd-lead { font-size: 1.15rem; line-height: 1.8; color: #e9edf4; max-width: 640px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8); }
.kd-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.kd-cta .btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.7rem; border-radius: 999px; font-weight: 700;
  color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}
.kd-cta .btn-ghost:hover { border-color: #ecd093; color: #ecd093; transform: translateY(-2px); }

/* ---------- Güven şeridi ---------- */
.kd-trust { position: relative; z-index: 3; margin-top: -3.6rem; }
.kd-trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, #171c26 0%, #0d1016 100%);
  border: 1px solid rgba(197, 155, 83, 0.45); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}
.kd-trust-item { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.4rem; color: #fff; border-right: 1px solid rgba(197, 155, 83, 0.2); }
.kd-trust-item:last-child { border-right: 0; }
.kd-trust-item i {
  width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; font-size: 1.3rem;
  color: #1a1408; background: var(--gold-gradient);
}
.kd-trust-item strong { display: block; font-size: 1rem; }
.kd-trust-item small { color: #aab3c2; font-size: 0.82rem; }

/* ---------- İki model ---------- */
.kd-models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.kd-model {
  position: relative; padding: 2.4rem 2.2rem; border-radius: 20px; overflow: hidden;
  background: var(--bg-secondary); border: 1px solid rgba(197, 155, 83, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.kd-model::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 155, 83, 0.25), transparent 70%);
}
.kd-model:hover { transform: translateY(-8px); border-color: #ecd093; box-shadow: 0 25px 55px rgba(197, 155, 83, 0.22); }
.kd-model-icon {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; font-size: 1.8rem; margin-bottom: 1.2rem;
  color: #1a1408; background: var(--gold-gradient); box-shadow: 0 10px 25px rgba(197, 155, 83, 0.35);
}
.kd-model h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.kd-model > p { margin-bottom: 1.2rem; opacity: 0.85; line-height: 1.7; }
.kd-model ul { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.6rem; }
.kd-model li { display: flex; gap: 0.7rem; align-items: flex-start; }
.kd-model li i { color: var(--gold-primary); margin-top: 0.25rem; }
.kd-model-tag {
  display: inline-block; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em;
  color: #1a1408; background: var(--gold-gradient);
}

/* ---------- Hesaplayıcı ---------- */
.kd-calc {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(197, 155, 83, 0.4); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.kd-calc-inputs { padding: 2.4rem; background: var(--bg-secondary); }
.kd-calc-result {
  position: relative; padding: 2.4rem; color: #fff; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(145deg, #1c2230 0%, #0b0e14 100%);
}
.kd-calc-result::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 10%, rgba(197, 155, 83, 0.28), transparent 55%);
}
.kd-field { margin-bottom: 1.7rem; }
.kd-field-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; font-weight: 600; }
.kd-field-top output { font-family: var(--font-accent, inherit); font-size: 1.25rem; font-weight: 800; color: var(--gold-primary); }
.kd-field input[type=range] { width: 100%; accent-color: #c59b53; height: 6px; cursor: pointer; }
.kd-field select { width: 100%; }
.kd-result-label { position: relative; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ecd093; }
.kd-result-big {
  position: relative; margin: 0.4rem 0 1.4rem; font-family: var(--font-accent, inherit); font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 800; line-height: 1;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.kd-result-big small { font-size: 1.2rem; -webkit-text-fill-color: #ecd093; font-weight: 700; margin-left: 0.4rem; }
.kd-result-rows { position: relative; display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.kd-result-rows div { display: flex; justify-content: space-between; padding-bottom: 0.7rem; border-bottom: 1px dashed rgba(236, 208, 147, 0.25); color: #d8deea; }
.kd-result-rows strong { color: #fff; }
.kd-disclaimer { position: relative; font-size: 0.78rem; color: #8f98a8; margin-bottom: 1.2rem; }
.kd-calc-result .btn { position: relative; justify-content: center; }

/* ---------- SSS ---------- */
.kd-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 1rem; }
.kd-faq details {
  border-radius: 14px; background: var(--bg-secondary); border: 1px solid rgba(197, 155, 83, 0.25);
  transition: border-color 0.3s ease, box-shadow 0.3s ease; overflow: hidden;
}
.kd-faq details[open] { border-color: #ecd093; box-shadow: 0 12px 30px rgba(197, 155, 83, 0.18); }
.kd-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.5rem; font-weight: 700; font-size: 1.05rem;
}
.kd-faq summary::-webkit-details-marker { display: none; }
.kd-faq summary::after {
  content: "+"; flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  font-size: 1.3rem; font-weight: 700; color: #1a1408; background: var(--gold-gradient); transition: transform 0.3s ease;
}
.kd-faq details[open] summary::after { transform: rotate(45deg); }
.kd-faq details p { padding: 0 1.5rem 1.4rem; line-height: 1.8; opacity: 0.85; }

/* ---------- Kapanış CTA ---------- */
.kd-final {
  position: relative; padding: 4.5rem 0; text-align: center; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #171c26 0%, #0d1016 100%);
  border-top: 1px solid var(--border-gold); border-bottom: 1px solid var(--border-gold);
}
.kd-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(197, 155, 83, 0.25), transparent 60%);
}
.kd-final .container { position: relative; }
.kd-final h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 0.8rem; color: #fff; }
.kd-final p { max-width: 620px; margin: 0 auto 2rem; color: #c3cad8; }
.kd-final .kd-cta { justify-content: center; margin-top: 0; }

@media (max-width: 960px) {
  .kd-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .kd-trust-item:nth-child(2) { border-right: 0; }
  .kd-trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(197, 155, 83, 0.2); }
  .kd-models, .kd-calc { grid-template-columns: 1fr; }
  .kd-hero { min-height: 70vh; }
}
@media (max-width: 520px) {
  .kd-trust-grid { grid-template-columns: 1fr; }
  .kd-trust-item { border-right: 0; border-bottom: 1px solid rgba(197, 155, 83, 0.2); }
  .kd-calc-inputs, .kd-calc-result { padding: 1.6rem; }
}
