/* Sayfa içi teklif formu (#teklif) ve sabit WhatsApp butonu — lead.js ile birlikte çalışır */

.lead-section {
  padding: 24px 0 82px;
  scroll-margin-top: 90px;
}

.lead-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(71, 178, 228, .25), transparent 30%),
    linear-gradient(135deg, #243b63, #101b32);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .1);
  overflow: hidden;
}

.lead-copy h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--heading-font, "Jost", sans-serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 800;
}

.lead-copy > p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .8);
}

.lead-points {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.lead-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .88);
}

.lead-points i {
  color: #63c4f2;
}

.lead-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-channels a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.lead-channels a:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.lead-channels .lead-wa i {
  color: #25d366;
}

.lead-form {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .18);
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-field-full {
  grid-column: 1 / -1;
}

.lead-field label {
  font-weight: 700;
  font-size: 14px;
  color: #243b63;
}

.lead-field input,
.lead-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(56, 81, 126, .2);
  border-radius: 12px;
  background: #f7f9fc;
  color: #1e293b;
  font: inherit;
}

.lead-field input:focus,
.lead-field textarea:focus {
  outline: none;
  border-color: #47b2e4;
  box-shadow: 0 0 0 3px rgba(71, 178, 228, .2);
  background: #fff;
}

.lead-field textarea {
  resize: vertical;
  min-height: 96px;
}

.lead-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #47b2e4, #63c4f2);
  box-shadow: 0 16px 34px rgba(71, 178, 228, .25);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.lead-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.lead-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

.lead-status {
  margin: 12px 0 0;
  font-weight: 700;
  text-align: center;
}

.lead-status:empty {
  display: none;
}

.lead-status.is-error {
  color: #c0392b;
}

.lead-status.is-success {
  color: #1e8e5a;
}

@media (max-width: 991px) {
  .lead-box {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
    border-radius: 26px;
  }

  .lead-section {
    padding-bottom: 56px;
  }
}

@media (max-width: 575px) {
  .lead-form {
    padding: 20px 16px;
  }

  .lead-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Sabit WhatsApp butonu: scroll-top butonunun (sağ alt) üstünde durur */
.wa-float {
  position: fixed;
  right: 15px;
  bottom: 72px;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  font-size: 28px;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease, visibility .2s;
}

/* Bazı sayfalardaki genel a{font-size:16px!important} kuralı ikonu küçültmesin */
.wa-float i {
  font-size: 28px;
  line-height: 1;
}

/* Teklif formu ekrandayken gizlenir; formda zaten WhatsApp linki var */
.wa-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(.8);
}

.wa-float:hover,
.wa-float:focus-visible {
  color: #fff;
  transform: scale(1.06);
}

@media print {
  .wa-float {
    display: none;
  }
}
