/* ==========================================================================
   Yeniden kullanılabilir bileşenler: ikon, buton, başlık, form alanı, çip
   ========================================================================== */

/* İkon (Razor: <icon name="..." />) */
.icon {
  width: 24px; height: 24px; flex: none;
  stroke: currentcolor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* Buton */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy-800); color: var(--white); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--navy-700); }
.btn--light { background: var(--white); color: var(--navy-800); }
.btn--ghost { border-color: rgb(255 255 255 / 0.35); color: var(--white); }
.btn--ghost:hover { background: rgb(255 255 255 / 0.08); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }

/* Üst başlık etiketi: logodaki imza çizgisine gönderme */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--navy-600);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.on-dark .eyebrow { color: var(--gold-soft); }

/* Bölüm */
.section { padding: var(--section-space) 0; }
.section--tint { background: var(--navy-50); }
.section--navy { position: relative; overflow: hidden; background: var(--navy-800); color: rgb(255 255 255 / 0.75); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--gold); }
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; max-width: none; }
.section-head--split > div { max-width: 620px; }

.section-title {
  margin-top: 14px;
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--navy-600); }
.on-dark .section-title { color: var(--white); }
.on-dark .section-title em { color: var(--gold-soft); }

.lead { font-size: 18px; color: var(--muted); }
.on-dark .lead { color: rgb(255 255 255 / 0.68); }

/* Form alanı */
.field label,
.field legend {
  display: block; margin-bottom: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--navy-50); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--navy-600); background: var(--white); }
.field .input-validation-error { border-color: var(--danger); background: #fdf3f2; }
.field__error { display: block; margin-top: 6px; font-size: 12.5px; color: var(--danger); }
.field__error:empty { display: none; }
.form-errors ul { color: var(--danger); font-size: 13px; }

.segmented { display: flex; gap: 8px; }
.segmented label {
  flex: 1; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px;
  font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink);
  background: var(--navy-50); border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.segmented label:has(input:checked) { border-color: var(--navy-600); background: var(--white); }
.segmented input { width: auto; accent-color: var(--navy-800); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--navy-800); }
.consent a { color: var(--navy-700); text-decoration: underline; }

/* Çip */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  font-size: 13px; font-weight: 500; color: var(--navy-800);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.chip .icon { width: 16px; height: 16px; }

/* İşaretli liste */
.checklist { display: grid; gap: 14px; margin: 26px 0 32px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checklist .icon {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%; stroke-width: 2.2;
  color: var(--white); background: var(--navy-800);
}

/* Küçük rozet ikonu */
.badge-icon {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: var(--navy-50); color: var(--navy-800);
}
.live-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgb(43 182 115 / 0.18); }

@media (max-width: 640px) {
  .section-head { margin-bottom: 32px; }
  .section-head--center { text-align: left; }
  .section-head--center .eyebrow::after { display: none; }
  .section-head--split .btn { display: none; }
  .section-title { margin-top: 10px; }
  .lead { font-size: 15.5px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.22em; }
  .eyebrow::before { width: 24px; }
  .field input, .field select, .field textarea { font-size: 16px; } /* iOS otomatik yakınlaştırmayı engeller */
  .segmented label { padding: 12px 10px; font-size: 13px; }
  .chip { padding: 7px 12px; font-size: 12px; }
  .checklist { gap: 10px; margin: 20px 0 24px; }
  .checklist li { font-size: 14.5px; }
}

/* Ülke seçmeli telefon alanı: görünen kısa etiket ("TR +90"), üstünde şeffaf gerçek <select> */
.phone-input { display: flex; gap: 8px; }
.phone-input input { flex: 1; min-width: 0; }
.phone-input__country {
  position: relative; flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 12px 0 14px;
  font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap;
  background: var(--navy-50); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.phone-input__country .icon { width: 14px; height: 14px; color: var(--muted); }
.field .phone-input__country select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; opacity: 0; cursor: pointer;
}
.phone-input__country:focus-within { border-color: var(--navy-600); background: var(--white); }
