﻿.contacts-section {
  padding: 100px 0 0;
  background: var(--pu-off);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-head .left { max-width: 640px; }

.section-head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--pu-blue-900);
  margin: 14px 0 10px;
}

.section-head p {
  color: var(--pu-ink-2);
  font-size: 16px;
  margin: 0;
  max-width: 55ch;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--pu-line);
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-card .head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--pu-line);
}

.contact-card .head .ic {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--pu-blue-50);
  color: var(--pu-blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card .head .ic svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card .head h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--pu-blue-900);
  margin: 0;
  letter-spacing: -0.005em;
}

.contact-card .head .t small {
  display: block;
  font: 400 12px var(--f-mono);
  color: var(--pu-ink-3);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.card-copy-btn {
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px 6px 8px;
  color: var(--pu-blue-700);
  opacity: 0.38;
  transition: opacity 0.15s, color 0.15s, background 0.15s;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--r-sm);
}

.card-copy-btn:hover {
  opacity: 1;
  color: var(--pu-blue-800);
  background: var(--pu-blue-50);
}

.card-copy-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.card-copy-btn span {
  font: 500 11px var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.kv-list { display: grid; grid-template-columns: 1fr; gap: 0; }

.kv-list .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--pu-line);
  align-items: baseline;
}

.kv-list .row:last-child { border-bottom: 0; }

.kv-list .row[data-copy] { cursor: pointer; margin: 0 -10px; padding-left: 10px; padding-right: 10px; }
.kv-list .row[data-copy]:hover { background: var(--pu-blue-50); border-radius: 6px; }

.kv-list .row .lbl {
  font: 500 11px var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pu-blue-700);
}

.kv-list .row .val {
  font-family: var(--f-mono);
  font-size: 14.5px;
  color: var(--pu-ink);
  line-height: 1.45;
  position: relative;
  padding-right: 22px;
}

.copy-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px;
  color: var(--pu-ink-3);
  opacity: 0.35;
  transition: opacity 0.15s, color 0.15s;
  line-height: 1;
  display: flex;
  align-items: center;
}

.copy-btn:hover { opacity: 0.65; color: var(--pu-blue-700); }

.copy-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--pu-blue-900);
  color: #fff;
  font: 500 12.5px var(--f-mono);
  letter-spacing: 0.05em;
  padding: 9px 20px;
  border-radius: 100px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
  white-space: nowrap;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.kv-list .row .val b {
  color: var(--pu-blue-900);
  font-weight: 500;
  font-family: var(--f-mono);
  font-size: 16px;
  letter-spacing: 0;
  display: block;
  margin-bottom: 2px;
}

.kv-list .row .val small {
  display: block;
  font: 400 12.5px var(--f-mono);
  color: var(--pu-ink-3);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.kv-list .row.tall .val { padding: 4px 28px 4px 0; }

.quick-row { display: grid; grid-template-columns: 1fr; gap: 12px; }

.quick-row a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--pu-blue-50);
  border: 1px solid var(--pu-blue-100);
  border-radius: var(--r-md);
  color: var(--pu-blue-900);
  text-decoration: none;
  transition: 0.15s;
}

.quick-row a:hover {
  background: var(--pu-blue-800);
  color: #fff;
  border-color: var(--pu-blue-800);
}

.quick-row a:hover .ic {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.quick-row a .ic {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--pu-blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.15s;
}

.quick-row a .ic svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-row a .t { flex: 1 1 0%; }

.quick-row a .t .l {
  display: block;
  font: 500 11px var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pu-blue-700);
  margin-bottom: 3px;
  transition: color 0.15s;
}

.quick-row a:hover .t .l { color: rgba(255,255,255,.7); }

.quick-row a .t .v {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 16px;
  color: var(--pu-blue-900);
  letter-spacing: 0;
  transition: color 0.15s;
}

.quick-row a:hover .t .v { color: #fff; }

.quick-row a .arr {
  color: var(--pu-ink-3);
  font-size: 18px;
  transition: transform 0.15s, color 0.15s;
}

.quick-row a:hover .arr {
  transform: translateX(4px);
  color: #fff;
}

@media (max-width: 860px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .kv-list .row { grid-template-columns: 120px 1fr; }
}

@media (max-width: 768px) {
  .contacts-section { padding: 60px 0 0; }
  .contacts-grid { margin-bottom: 0; }
  .contact-card .head .ic { display: none !important; }
  .quick-row a { flex-direction: column; }
  .quick-row a .arr { display: none; }
  .quick-row a .t .l { text-align: center; }
  .quick-row a .t .v { display: block; text-align: center; }
}

@media (max-width: 560px) {
  .contact-card { padding: 24px 20px; }
  .kv-list .row {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 14px 0;
  }
  .kv-list .row .lbl { margin-bottom: 0; }
  .kv-list .row .val { padding-right: 24px; }
  .kv-list .row.tall .val { padding: 0 24px 0 0; }
  .card-copy-btn span { display: none; }
}

@media (max-width: 1024px) {
  .contacts-section { padding: 60px 0; }
}

@media (max-width: 1280px) {
  .contacts-section { padding-bottom: 50px; }
}
