/* ===== БАЗА ===== */
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #eef1f6;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* ===== КАРТОЧКА ===== */
.card {
  background: #fff;
  padding: 28px 26px;
  border-radius: 18px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* ===== ФОТО ===== */
.photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid #1e40af;
}

/* ===== ТЕКСТ ===== */
h1 {
  margin: 0 0 6px;
  font-size: 1.35em;
  color: #1e3a8a;
}

.title {
  margin: 0 0 6px;
  color: #374151;
}

.org {
  margin-bottom: 18px;
  color: #6b7280;
  font-size: 0.92em;
}

/* ===== ГЛАВНАЯ КНОПКА ===== */
.cta-main {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  margin: 18px 0;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(34,197,94,0.3);
  transition: transform 0.2s ease;
}

.cta-main:hover {
  transform: translateY(-2px);
}

/* ===== КОНТАКТЫ ===== */
.contact a {
  display: block;
  margin: 10px 0;
  color: #1e40af;
  text-decoration: none;
  font-size: 1.05em;
}

/* ===== ВТОРИЧНЫЕ ССЫЛКИ ===== */
.link-secondary {
  display: block;
  margin-top: 10px;
  color: #1e40af;
  text-decoration: none;
  font-size: 0.95em;
}

/* ===== САЙТ ===== */
.website {
  margin-top: 14px;
}

.website a {
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
}

/* ===== NOTE ===== */
.note {
  margin-top: 18px;
  font-size: 0.92em;
  color: #444;
  line-height: 1.5;
}

/* ===== КНОПКА СОХРАНЕНИЯ ===== */
button#saveContact {
  margin-top: 22px;
  width: 100%;
  background: #1e40af;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  cursor: pointer;
  font-size: 1em;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 420px) {
  .card {
    padding: 20px;
    max-width: 95%;
  }
}