/*
 * Белый фон — дефолтный контекст логотипа в брендбуке 2013 года (стр. 8).
 * Цвета сверены с текущим живым new.interros.ru (реальная палитра ушла от
 * брендбука): текст не чёрный, а тёмный сине-серый #41465b; бирюзовый акцент
 * шире, чем в брендбуке (#0096aa совпадает с их печатным веб-вариантом, плюс
 * их #00b4d3/#0dbfd7 поярче); светлые фоны/чипы с голубым подтоном
 * (#f5f8ff/#e5ecf5), не нейтральный серый. Формы — сильно скруглённые
 * (у них 40-60px на кнопках, 16px на карточках), это тоже перенесено сюда.
 * Шрифт на живом сайте — Cera Pro (лицензионный, файлы лежат на их сервере,
 * но копировать без отдельного подтверждения лицензии на этот шрифт нельзя).
 * Использован Arial — тот же системный шрифт, что и в брендбуке 2013 года
 * для официальных документов и бланков (стр. 21).
 */
:root {
  --bg: #eef1f6;
  --panel: #ffffff;
  --ink: #41465b;
  --muted: #798397;
  --teal: #0096aa;
  --teal-bright: #00b4d3;
  --teal-ink: #064b6a;
  --line: #d7dfe9;
  --shadow: rgba(65, 70, 91, 0.12);
  --e: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  position: relative;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

picture {
  display: block;
}

.card-shell {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
}

.card {
  position: relative;
  overflow: hidden;
  width: min(100%, 380px);
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 60px var(--shadow);
  text-align: center;
}

.portrait {
  position: relative;
  overflow: hidden;
  width: 92px;
  height: 92px;
  margin: 0 auto 16px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.portrait picture,
.portrait img {
  width: 100%;
  height: 100%;
}

.portrait img {
  object-fit: cover;
  object-position: 52% 18%;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  color: var(--teal-ink);
  border: 1px solid color-mix(in srgb, var(--teal-bright) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal-bright) 12%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 7vw, 28px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
  hyphens: none;
}

.role {
  margin: 0 0 2px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.32;
}

.org-name {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.32;
}

.org-logo {
  display: block;
  width: 168px;
  height: auto;
  margin: 0 auto 22px;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 12px 14px;
  background: #f5f8ff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-list a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.3s var(--e);
}

.contact-list a:hover {
  color: var(--teal-ink);
}

.action {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 16px 13px 20px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--teal-bright);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.5s var(--e), background 0.4s var(--e);
}

.action:hover {
  background: var(--teal-ink);
  transform: translateY(-2px);
}

.action:active {
  transform: translateY(0) scale(0.98);
}

.action::after {
  content: "\2193";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
  transition: transform 0.5s var(--e), background 0.4s var(--e);
}

.action:hover::after {
  transform: translateY(2px) scale(1.06);
  background: rgba(255, 255, 255, 0.26);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

@media (max-width: 380px) {
  .card-shell {
    min-height: auto;
    padding: 12px;
  }

  .card {
    min-height: calc(100vh - 24px);
    padding: 20px;
    border-radius: 22px;
  }
}
