/* =========================================================
   CONTACT PAGE – OVERRIDE / ISOLATED
   Mevcut ana CSS ile çakışmayı azaltmak için yüksek spesifiklik
   ========================================================= */
html,
body {
  height: auto;
}

body {
  background:
    radial-gradient(1000px 520px at 8% -5%,
      rgba(30, 58, 138, 0.09),
      transparent 55%),
    radial-gradient(800px 420px at 96% 8%,
      rgba(43, 138, 159, 0.1),
      transparent 48%),
    linear-gradient(175deg, #eef3fa 0%, #f8fafc 42%, #ffffff 100%);
}

body .dkx-contact {
  width: min(1088px, calc(100% - 48px)) !important;
  max-width: 1088px !important;
  margin: 28px auto 24px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body .section-title {
  text-align: center !important;
  margin: 0 0 clamp(0.85rem, 1.8vw, 1.15rem);
  padding-top: 2px;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--vp-premium-ink);
  line-height: 1.2;
}

main#main {
  margin-top: 99px !important;
}

/* üst bilgi kartları */
body .dkx-contact .dkx-contacts-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 22px !important;
  margin-bottom: 22px !important;
}

body .dkx-contact .dkx-contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 18px !important;
  min-height: 126px !important;
  padding: 1.25rem !important;
  background: #ffffff !important;
  border: 1px solid #dbe1ea !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03) !important;
}

body .dkx-contact .dkx-contact-item .ico {
  flex: 0 0 50px !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 999px !important;
  background: #eef3fb !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
}

body .dkx-contact .dkx-contact-item .ico svg {
  width: 24px !important;
  height: 24px !important;
  stroke: #2f5ed7 !important;
}

body .dkx-contact .dkx-contact-item .txt {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  min-width: 0 !important;
}

body .dkx-contact .dkx-contact-item .ttl {
  margin: 0 !important;
  color: #7c8598 !important;
  font-size: 0.775rem !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body .dkx-contact .dkx-contact-item .val,
body .dkx-contact .dkx-contact-item .val a {
  color: #1f2937 !important;
  font-size: 0.775rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  word-break: break-word !important;
}

/* destek kutusu */
body .dkx-contact .dkx-note {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 1.25rem;
  margin: 0 0 22px !important;
  border: 1px solid #d9e2f0 !important;
  border-radius: 0.75rem !important;
  background: #ffffff !important;
  color: #4b5565 !important;
}

body .dkx-contact .dkx-note>svg {
  flex: 0 0 50px !important;
  width: 50px !important;
  height: 50px !important;
  padding: 13px !important;
  border-radius: 999px !important;
  background: #e6edf8 !important;
  fill: #2f5ed7 !important;
}

body .dkx-contact .dkx-note strong {
  display: block !important;
  margin-bottom: 4px !important;
  color: #1c2434 !important;
  font-size: 0.975rem !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

body .dkx-contact .dkx-note div {
  color: #70798d !important;
  font-size: 0.775rem !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

/* form */
body .dkx-contact form#dkxContactForm {
  display: flex !important;
  flex-direction: column !important;
  gap: 26px !important;
  border-radius: .75rem;
  background: #ffff;
  padding: 1.25rem;
      border: 1px solid #d9e2f0 !important;
}

body .dkx-contact .dkx-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
  background: #ffffff !important;
  padding: 0;
  border: 0;
}

body .dkx-contact .dkx-col {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

/* label */
body .dkx-contact .dkx-col>label,
body .dkx-contact .dkx-col>.checkbox,
body .dkx-contact label[for] {
  margin: 0 0 12px !important;
  color: #030303 !important;
  font-size: 0.8125rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

body .dkx-contact .dkx-required::after {
  content: " *" !important;
  color: #ff6161 !important;
  font-weight: 800 !important;
}

/* =========================================================
   INPUT / SELECT / TEXTAREA – ANA ÇAKIŞMA KESİCİ
   ========================================================= */

body .dkx-contact input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.dkx-invis),
body .dkx-contact select,
body .dkx-contact textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  border: 1px solid #d8dee8 !important;
  border-radius: 16px !important;
  background: #f7f7f7 !important;
  box-shadow: none !important;
  outline: none !important;
  color: #1e293b !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease !important;
}

body .dkx-contact input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.dkx-invis),
body .dkx-contact select {
  height: 45px !important;
  min-height: 45px !important;
  padding: 0 18px !important;
  font-size: 0.775rem !important;
  line-height: 50px !important;
}

select#dkxTopic {
  bottom: 8px;
}

body .dkx-contact textarea {
  min-height: 168px !important;
  padding: 16px 18px !important;
  resize: vertical !important;
  font-size: 0.775rem !important;
  line-height: 1.6 !important;
  margin-top: 0 !important;
  top: -7px;
}

/* placeholder */
body .dkx-contact input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.dkx-invis)::placeholder,
body .dkx-contact textarea::placeholder {
  color: #7d879c !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}

/* focus */
body .dkx-contact input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.dkx-invis):focus,
body .dkx-contact select:focus,
body .dkx-contact textarea:focus {
  border-color: #9ab4f8 !important;
  box-shadow: 0 0 0 4px rgba(47, 94, 215, 0.08) !important;
  background: #ffffff !important;
  outline: none !important;
}

/* invalid */
body .dkx-contact .dkx-field-invalid,
body .dkx-contact input.dkx-field-invalid,
body .dkx-contact select.dkx-field-invalid,
body .dkx-contact textarea.dkx-field-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08) !important;
}

/* select arrow */
body .dkx-contact select {
  padding-right: 52px !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23838ca1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 18px 18px !important;
}

/* textarea başlığı yakın dursun */
body .dkx-contact textarea+.dkx-error,
body .dkx-contact input+.dkx-error,
body .dkx-contact select+.dkx-error {
  margin-top: 8px !important;
}

/* checkbox alanı */
body .dkx-contact .dkx-kvkk,
body .dkx-contact .checkbox.dkx-kvkk {
  display: flex !important;
  align-items: flex-end !important;
  gap: 12px !important;
  margin: 2px 0 0 !important;
  cursor: pointer !important;
  padding-left: 0;
}

body .dkx-contact .checkbox input,
body .dkx-contact #dkxKvkk {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body .dkx-contact .checkbox .check {
  position: relative !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  margin-top: 2px !important;
  border: 1.5px solid #d7dce5 !important;
  border-radius: 999px !important;
  background: #fff !important;
  transition: all 0.18s ease !important;
}

body .dkx-contact .checkbox input:checked+.check {
  border-color: #2f5ed7 !important;
  background: #2f5ed7 !important;
  box-shadow: inset 0 0 0 5px #fff !important;
}

body .dkx-contact .dkx-kvkk__text {
  color: #727c92 !important;
  font-size: 0.775rem !important;
  line-height: 1.65 !important;
  font-weight: 500 !important;
}

body .dkx-contact .kvkk-link {
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 2px !important;
  color: #2f5ed7 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  cursor: pointer !important;
}

/* buton alanı */
body .dkx-contact .dkx-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  flex-direction: row !important;
  margin-top: 4px !important;
}

body .dkx-contact .dkx-help {
  order: 1 !important;
  margin-left: auto !important;
  color: #7b8497 !important;
  ffont-size: 0.775rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  text-align: right !important;
}

body .dkx-contact .dkx-btn,
body .dkx-contact .btn.dkx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: #1e3a8a;
  box-shadow: none;
  transition: background-color 0.18s ease;
  order: 2 !important;
}

body .dkx-contact .dkx-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(47, 94, 215, 0.28) !important;
  background: #2955c5 !important;
}

body .dkx-contact .dkx-btn svg {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
}

/* mesaj kutuları */
body .dkx-contact .dkx-success,
body .dkx-contact .dkx-fail {
  display: none;
  margin-top: -6px !important;
  padding: 16px 18px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

body .dkx-contact .dkx-success {
  background: #ecfdf3 !important;
  border: 1px solid rgba(18, 183, 106, 0.2) !important;
  color: #027a48 !important;
}

body .dkx-contact .dkx-fail {
  background: #fef3f2 !important;
  border: 1px solid rgba(240, 68, 56, 0.18) !important;
  color: #b42318 !important;
}

body .dkx-contact .dkx-error {
  color: #d92d20 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  margin-top: 8px !important;
  display: none;
}

/* mobil */
@media (max-width: 991px) {
  body .dkx-contact {
    width: min(100% - 32px, 1088px) !important;
    margin-top: 40px !important;
  }

  body .dkx-contact .dkx-contacts-grid,
  body .dkx-contact .dkx-row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  body .dkx-contact {
    width: calc(100% - 24px) !important;
    margin-top: 28px !important;
    margin-bottom: 18px !important;
  }

  body .section-title {
    font-size: 36px !important;
  }

  body .section-title+.dkx-contact::before {
    margin-bottom: 24px !important;
    ffont-size: 0.775rem !important;
    line-height: 1.55 !important;
  }

  body .dkx-contact .dkx-contacts-grid {
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  body .dkx-contact .dkx-contact-item {
    padding: 18px 16px !important;
    border-radius: 16px !important;
    gap: 14px !important;
    min-height: auto !important;
  }

  body .dkx-contact .dkx-note {
    padding: 18px 16px !important;
    margin-bottom: 26px !important;
    border-radius: 16px !important;
    gap: 14px !important;
  }

  body .dkx-contact form#dkxContactForm {
    gap: 20px !important;
  }

  body .dkx-contact .dkx-row {
    gap: 20px !important;
  }

  body .dkx-contact .dkx-col>label,
  body .dkx-contact label[for] {
    ffont-size: 0.775rem !important;
    margin-bottom: 10px !important;
  }

  body .dkx-contact input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.dkx-invis),
  body .dkx-contact select {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    ffont-size: 0.775rem !important;
    line-height: 46px !important;
  }

  body .dkx-contact textarea {
    min-height: 150px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    ffont-size: 0.775rem !important;
    top: -7px;
  }

  body .dkx-contact .dkx-kvkk__text {
    font-size: 15px !important;
  }

  body .dkx-contact .dkx-actions {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  body .dkx-contact .dkx-help {
    margin-left: 0 !important;
    text-align: center !important;
    font-size: 15px !important;
  }

  body .dkx-contact .dkx-btn,
  body .dkx-contact .btn.dkx-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 54px !important;
    border-radius: 14px !important;
    font-size: 0.775rem !important;
  }
}

/* =========================
   KVKK LINK CLICK FIX
   ========================= */
body .dkx-contact .dkx-kvkk {
  position: relative !important;
}

body .dkx-contact .dkx-kvkk__text {
  position: relative !important;
  z-index: 2 !important;
}

body .dkx-contact #btnKvkkOpen,
body .dkx-contact .kvkk-link {
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}

/* =========================
   KVKK MODAL STYLES
   ========================= */
body .dk-modal-contact[aria-hidden="true"] {
  display: none !important;
}

body .dk-modal-contact[aria-hidden="false"] {
  display: flex !important;
}

body .dk-modal-contact {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

body .dk-modal-contact__backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.56) !important;
  backdrop-filter: blur(3px) !important;
}

body .dk-modal-contact__dialog {
  position: relative !important;
  z-index: 2 !important;
  width: min(860px, calc(100% - 24px)) !important;
  max-height: calc(85vh - 24px) !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22) !important;
  overflow: hidden !important;
}

body .dk-modal-contact__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 20px 24px !important;
  border-bottom: 1px solid #eef2f7 !important;
  background: #ffffff !important;
}

body .dk-modal-contact__title {
  margin: 0 !important;
  color: #162033 !important;
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

body .dk-modal-contact__close {
  width: 42px !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #64748b !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

body .dk-modal-contact__body {
  padding: 24px !important;
  overflow: auto !important;
}

body .terms-box {
  color: #475467 !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

body .dk-modal-contact__footer {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  padding: 18px 24px !important;
  border-top: 1px solid #eef2f7 !important;
  background: #ffffff !important;
}

body .dk-modal-contact__footer .dkx-btn,
body .dk-modal-contact__footer .btn.dkx-btn {
  width: auto !important;
  min-width: 140px !important;
  height: 46px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
}

body .dk-modal-contact__footer .dkx-btn--ghost {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid #dbe2ea !important;
  box-shadow: none !important;
}

body.dk-modal-contact-open {
  overflow: hidden !important;
}

@media (max-width: 768px) {
  body .dk-modal-contact {
    padding: 12px !important;
  }

  body .dk-modal-contact__dialog {
    width: calc(100% - 8px) !important;
    max-height: calc(100vh - 24px) !important;
    border-radius: 16px !important;
  }

  body .dk-modal-contact__header,
  body .dk-modal-contact__body,
  body .dk-modal-contact__footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body .dk-modal-contact__footer {
    flex-direction: column-reverse !important;
  }

  body .dk-modal-contact__footer .dkx-btn,
  body .dk-modal-contact__footer .btn.dkx-btn {
    width: 100% !important;
  }
}