/* İletişim sayfası ve web sitesi teklif formu (iletisim.php, inc/contact-lead.php). İletişim kutusu iki temada da koyu olduğu için tek renk takımı yeter.
   style.css'e dokunulmadı; bu dosya yalnızca İletişim sayfasında yüklenir (lead_form_head). */

.page-head__lead { margin-top: 18px; max-width: 36em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); }

.contact--lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__avail { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; color: #dbe2ea; }
.contact__social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
.contact__social a { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; color: #dbe2ea; transition: color 0.2s linear; }
.contact__social a:hover { color: var(--blue); }
.contact__social svg { width: 15px; height: 15px; }
.contact__or { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; line-height: 1.55; color: #9aa6b8; max-width: 34em; }
.contact--lead .contact__mail { margin-top: 18px; font-size: clamp(18px, 2.2vw, 24px); }
.contact--lead .contact__actions { margin-top: 22px; }
@media (max-width: 900px) { .contact--lead { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .contact--lead { padding: 30px 18px 18px; border-radius: 24px; } }

.lead {
  display: grid; gap: 18px; color: #e9eef3;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px; padding: clamp(20px, 3vw, 30px);
}
.lead[hidden] { display: none; }
.lead__title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: #fff; }
.lead__sub { margin-top: -12px; font-size: 14px; color: #9aa6b8; }
.lead .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Seçenekler: dokunarak seçilen yuvarlak düğmeler (radyo) */
.lead__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.lead__group legend, .lead__field > span { display: block; padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #c9d1dd; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px;
  border: 1px solid #2f3b4f; background: rgba(255, 255, 255, 0.03); color: #dbe2ea; font-size: 14px; font-weight: 500;
  transition: background-color 0.2s linear, border-color 0.2s linear, color 0.2s linear;
}
.chip span::before {
  content: ''; width: 0; height: 14px; margin-right: 0; flex: none; overflow: hidden;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  transition: width 0.2s var(--ease), margin-right 0.2s var(--ease);
}
@media (hover: hover) { .chip:hover span { border-color: #4b5b72; } }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:checked + span::before { width: 14px; margin-right: 6px; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Yazı alanları */
.lead__field { display: block; }
.lead input:not([type=radio]), .lead textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: rgba(255, 255, 255, 0.06);
  border: 1px solid #2f3b4f; border-radius: 12px; padding: 11px 14px;
  transition: border-color 0.2s linear, box-shadow 0.2s linear;
}
.lead input::placeholder, .lead textarea::placeholder { color: #6d7b8f; }
.lead input:focus, .lead textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.25); }
.lead input[aria-invalid] { border-color: #f87171; }
.lead textarea { resize: vertical; min-height: 92px; line-height: 1.55; margin-top: 10px; }
.lead .req { color: var(--blue); }
.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .lead__row { grid-template-columns: 1fr; } }
.lead__hint { margin-top: -10px; font-size: 13px; color: #9aa6b8; }

.lead__more summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 500; color: #c9d1dd; list-style: none; }
.lead__more summary::-webkit-details-marker { display: none; }
.lead__more summary::before { content: '+'; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #3a475b; font-size: 14px; line-height: 1; }
.lead__more[open] summary::before { content: '−'; }
.lead__more summary:hover { color: #fff; }

.lead__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.lead__foot .btn { min-width: 160px; }
.lead .btn[disabled] { opacity: 0.6; cursor: progress; }
.lead__msg { font-size: 14px; }
.lead__msg:empty { display: none; }
.lead__msg.is-ok { color: #4ade80; }
.lead__msg.is-err { color: #f87171; }
.lead__note { font-size: 12.5px; color: #8391a5; }
.lead__note a { color: #c9d1dd; text-decoration: underline; text-underline-offset: 2px; }
.lead__note a:hover { color: #fff; }

/* Gönderildi */
.lead--done { justify-items: start; align-content: center; min-height: 260px; outline: none; }
.lead--done .lead__sub { margin-top: -8px; font-size: 15px; max-width: 32em; }
.lead__check { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(34, 197, 94, 0.16); color: #4ade80; }
.lead__check svg { width: 28px; height: 28px; }
@media (max-width: 600px) { .lead--done { min-height: 0; } }

@media (prefers-reduced-motion: reduce) { .chip span, .chip span::before { transition: none; } }
