/* İletişim sayfası: site.css üzerine eklenen sayfa stilleri.
   Ortak parçalar (üst bar, alt bilgi, .routes, sayfa başı) site.css'ten gelir.
   Fikir: iletişim bilgileri teknik çizimlerdeki antet (başlık bloğu) gibi ince çizgili, satır satır bir tabloda durur.
   Üç satır: Telefon, E-posta, Adres. */

.contact {
  margin-top: clamp(40px, 6vw, 80px);
  padding-block: clamp(48px, 7vw, 96px);
  background: var(--steel);
}

/* antet: dış çizgi koyu, satır araları açık; sol üst köşede cetveldeki gibi kırmızı işaret */
.plate {
  position: relative;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--ink);
}
.plate::before {
  content: "";
  position: absolute; left: -1px; top: -1px;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--oxide), var(--red));
  z-index: 1;
}

/* her satır: numara + etiket | değer | düğmeler */
.cell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(24px, 4vw, 56px);
  padding: clamp(26px, 3.4vw, 44px) clamp(24px, 3.2vw, 44px);
  background: var(--paper);
}
/* üzerine gelince ya da içine odaklanınca üstte kırmızı çizgi (Partner sayfasındaki logo çerçevesiyle aynı dil) */
.cell::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--oxide), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.cell:hover::after,
.cell:focus-within::after { transform: scaleX(1); }

.cell-head { display: flex; align-items: center; gap: 16px; }
/* simge: ince çizgili küçük kare; satırın üzerine gelince kırmızıya döner */
.cell-icon {
  flex: none;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color .2s, color .2s;
}
.cell-icon svg { width: 24px; height: 24px; }
.cell:hover .cell-icon,
.cell:focus-within .cell-icon { border-color: var(--red); color: var(--red); }

.cell-no {
  display: block;
  font: 600 15px/1 var(--font-body);
  color: var(--oxide);
  letter-spacing: .02em;
}
.cell-label {
  margin-top: 12px;
  font: 600 15px/1.2 var(--font-body);
  color: var(--graphite);
  letter-spacing: .02em;
}

.cell-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -.005em;
  overflow-wrap: anywhere;
}
.cell-value a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  transition: text-decoration-color .2s;
}
.cell-value a:hover,
.cell-value a:focus-visible { text-decoration-color: var(--red); }
address.cell-value { font-style: normal; }
/* firma ünvanı uzun: düğme sütununa kadar uzanır, gerekirse iki satıra dengeli bölünür */
.cell--firma .cell-value { grid-column: 2 / -1; text-wrap: balance; }

.cell-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-self: end; }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px;
  padding: 0 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font: 500 15px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s;
}
.btn-text:hover { border-color: var(--ink); }
.btn-text svg { width: 16px; height: 16px; flex: none; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
  /* düğmeler değerin altına iner */
  .cell { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); row-gap: 18px; }
  .cell-actions { grid-column: 2; justify-self: start; }
}
@media (max-width: 600px) {
  .cell { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .cell--firma .cell-value, .cell-actions { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cell::after, .cell-icon, .cell-value a, .btn-text { transition: none; }
}
