/*
 * Günlükİşler.net
 * Modül: Talep ve İletişim Merkezi
 */

.contact-center-section {
  position: relative;
}

.contact-center-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #e3e7ed;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 107, 0, 0.08), transparent 34%),
    #ffffff;
  box-shadow: 0 18px 48px rgba(17, 38, 68, 0.09);
}

.contact-center-header {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
}

.contact-center-header h3 {
  margin: 0 0 10px;
  color: var(--navy, #112644);
  font-size: clamp(26px, 4vw, 36px);
}

.contact-center-header p {
  margin: 0;
  color: #687386;
  line-height: 1.7;
}

.contact-category-title {
  display: block;
  margin-bottom: 10px;
  color: #26354b;
  font-size: 14px;
  font-weight: 800;
}

.contact-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.contact-category {
  min-height: 70px;
  padding: 12px 10px;
  border: 1px solid #dfe4eb;
  border-radius: 15px;
  background: #fff;
  color: #334157;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.contact-category:hover {
  transform: translateY(-2px);
  border-color: var(--orange, #ff6b00);
  box-shadow: 0 8px 22px rgba(17, 38, 68, 0.08);
}

.contact-category.is-selected {
  border-color: var(--orange, #ff6b00);
  background: rgba(255, 107, 0, 0.08);
  color: #b94a00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.11);
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.contact-field label {
  color: #344258;
  font-size: 13px;
  font-weight: 800;
}

.contact-optional {
  color: #8a93a2;
  font-size: 12px;
  font-weight: 600;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 15px;
  border: 1px solid #d8dee7;
  border-radius: 13px;
  background: #fff;
  color: #17243a;
  font: inherit;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--orange, #ff6b00);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.contact-field textarea {
  min-height: 145px;
  resize: vertical;
}

.contact-field-note {
  color: #8a93a2;
  font-size: 11px;
  line-height: 1.45;
}

.contact-counter {
  margin-top: -2px;
  color: #8a93a2;
  font-size: 11px;
  text-align: right;
}

.contact-checks {
  display: grid;
  grid-column: 1 / -1;
  gap: 11px;
  margin-top: 3px;
}

.contact-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #566176;
  font-size: 13px;
  line-height: 1.55;
}

.contact-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--orange, #ff6b00);
}

.contact-check a {
  color: var(--orange, #ff6b00);
  font-weight: 800;
  text-decoration: none;
}

.contact-security-note {
  grid-column: 1 / -1;
  padding: 13px 15px;
  border: 1px solid #f0dfba;
  border-radius: 13px;
  background: #fff9ea;
  color: #715720;
  font-size: 12px;
  line-height: 1.55;
}

.contact-error {
  display: none;
  grid-column: 1 / -1;
  padding: 13px 15px;
  border: 1px solid #f0b9b9;
  border-radius: 13px;
  background: #fff1f1;
  color: #a52727;
  font-size: 13px;
  font-weight: 700;
}

.contact-error.is-visible {
  display: block;
}

.contact-submit {
  grid-column: 1 / -1;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--orange, #ff6b00);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.22);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(255, 107, 0, 0.28);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-success {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-success.is-visible {
  display: block;
}

.contact-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-bottom: 26px;
  padding: 0 18px;
  border: 1px solid #dce2ea;
  border-radius: 999px;
  background: #fff;
  color: var(--navy, #112644);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.contact-success-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: #e7f7ec;
  color: #16813c;
  font-size: 30px;
}

.contact-success h4 {
  margin: 0 0 10px;
  color: var(--navy, #112644);
  font-size: 27px;
}

.contact-success p {
  margin: 0 0 12px;
  color: #677286;
  line-height: 1.7;
}

.contact-ticket-number {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 15px;
  border-radius: 11px;
  background: #f2f5f8;
  color: #26354b;
  font-weight: 900;
  letter-spacing: 0.3px;
}

@media (max-width: 760px) {
  .contact-center-shell {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .contact-categories {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-field,
  .contact-field.full,
  .contact-checks,
  .contact-security-note,
  .contact-error,
  .contact-submit {
    grid-column: 1;
  }
}

@media (max-width: 410px) {
  .contact-categories {
    grid-template-columns: 1fr;
  }
}