/* ═══════════════════════════════════════════
   CONTACT — Əlaqə bölməsi
   contact.css  (yalnız contact.html üçün)
═══════════════════════════════════════════ */

.ct-section {
  background: #edf0f5;
  padding: 52px 0;
  font-family: 'Montserrat', sans-serif;
}

.ct-inner {
  padding: 0 52px;
  display: grid;
  grid-template-columns: 56% 1fr;
}

/* ════════════════════════════════
   XƏRİTƏ
════════════════════════════════ */
.ct-map-col {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
}

.ct-map-rail {
  flex-shrink: 0;
  border-left: 2.5px solid #091929;
  padding-left: 9px;
  margin-right: 9px;
  display: flex;
  align-items: flex-start;
}

.ct-map-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #091929;
  white-space: nowrap;
}

.ct-map-wrap {
  align-self: stretch;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.ct-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ct-map-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: #091929;
  font-size: 11.5px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  padding: 8px 14px;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: box-shadow 0.2s;
  z-index: 2;
}

.ct-map-btn:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.26);
}

/* ════════════════════════════════
   SAĞ PANEL
════════════════════════════════ */
.ct-right {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-left: 18px;
}

.ct-rail {
  flex-shrink: 0;
  border-left: 2.5px solid #091929;
  padding-left: 9px;
  display: flex;
  align-items: flex-start;
}

.ct-rail-tag {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #091929;
  white-space: nowrap;
  text-transform: uppercase;
}

.ct-right-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
}

/* ════════════════════════════════
   ÜNVAN
════════════════════════════════ */
.ct-addr-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #cdd4de;
}

.ct-addr-row svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.ct-addr-text {
  font-size: 12.5px;
  font-weight: 500;
  color: #091929;
  line-height: 1.55;
}

/* ════════════════════════════════
   TELEFON / EMAİL / SOSİAL
════════════════════════════════ */
.ct-links-row {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #cdd4de;
  flex-wrap: wrap;
  gap: 0;
}

.ct-link-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #091929;
  text-decoration: none;
  padding-right: 18px;
  margin-right: 18px;
  border-right: 1.5px solid #cdd4de;
  transition: color 0.2s;
  white-space: nowrap;
}

.ct-link-item:hover {
  color: #1a5fa8;
}

.ct-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.ct-soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid #c0c9d6;
  border-radius: 50%;
  color: #091929;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ct-soc:hover {
  background: #091929;
  color: #fff;
  border-color: #091929;
}

/* ════════════════════════════════
   FORM
════════════════════════════════ */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ct-field {
  min-width: 0;
}

.ct-hp {
  display: none;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.ct-input,
.ct-textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid #dbe2ec;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  color: #1e3347;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: #9aaabb;
}

.ct-input:focus,
.ct-textarea:focus {
  border-color: #091929;
}

.ct-input[aria-invalid="true"],
.ct-textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.ct-textarea {
  resize: vertical;
  min-height: 108px;
}

.ct-form-status {
  min-height: 18px;
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #66788a;
}

.ct-form-status[data-state="success"] {
  color: #0f7a3f;
}

.ct-form-status[data-state="error"] {
  color: #b42318;
}

.ct-captcha-label {
  font-size: 12px;
  font-weight: 700;
  color: #091929;
  margin-bottom: -2px;
}

.ct-submit {
  width: 100%;
  background: #4990c8;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 13px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 2px;
}

.ct-submit:hover {
  background: #3578b0;
}

.ct-submit:disabled {
  background: #a8bece;
  cursor: not-allowed;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .ct-inner { padding: 0 36px; grid-template-columns: 52% 1fr; }
  .ct-links-row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-bottom: 14px;
  }
  .ct-links-row .ct-link-item { grid-column: 1; border-right: none; margin-right: 0; padding-right: 0; }
  .ct-links-row .ct-link-item:nth-child(2) { margin-top: 6px; }
  .ct-links-row .ct-socials { grid-column: 2; grid-row: 1 / 3; align-self: center; margin-left: 14px; margin-top: 0; }
}

@media (max-width: 912px) {
  .ct-section { padding: 40px 0; }
  .ct-inner {
    grid-template-columns: 1fr;
    padding: 0 28px;
  }
  .ct-map-col { display: block; height: 340px; }
  .ct-map-wrap { height: 340px; }
  .ct-right {
    padding: 20px 18px;
    margin-top: 20px;
    background: #fff;
    border-radius: 12px;
    align-items: flex-start;
  }
  .ct-right-body { gap: 0; }
  .ct-addr-row { padding-bottom: 14px; margin-bottom: 12px; }
  .ct-links-row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-bottom: 14px;
    margin-bottom: 0;
  }
  .ct-links-row .ct-link-item { grid-column: 1; border-right: none; margin-right: 0; padding-right: 0; }
  .ct-links-row .ct-link-item:nth-child(2) { margin-top: 6px; }
  .ct-links-row .ct-socials { grid-column: 2; grid-row: 1 / 3; align-self: center; margin-left: 14px; margin-top: 0; }
  .ct-rail { display: none; }
  .ct-map-rail { display: none; }
}

@media (max-width: 600px) {
  .ct-section { padding: 36px 0; }
  .ct-inner { padding: 0 20px; }
  .ct-map-col { display: block; height: 260px; }
  .ct-map-wrap { height: 260px; }
  .ct-right { padding: 16px 14px; margin-top: 16px; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-links-row { padding-bottom: 12px; }
  .ct-links-row .ct-link-item { font-size: 11px; }
  .ct-socials { margin-left: 0; }
}

@media (max-width: 430px) {
  .ct-inner { padding: 0 14px; }
}

.g-recaptcha {
  transform-origin: left top;
}

@media (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.82);
    margin-bottom: -14px;
  }
}
