:root{
  --bg: #ffffff;
  --panel: #f9fafb;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --orange: #f97316;
  --orange-weak: rgba(249,115,22,.12);
  --shadow: 0 10px 30px rgba(17,24,39,.06);
}

.about-page{
  background: var(--bg);
  color: var(--text);
  padding: 28px 14px 50px;
}

.about-wrap{
  max-width: 1100px;
  margin: 0 auto;
}

.about-hero{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.about-photo{
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo img{
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
}

.about-title{
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.1;
}

.about-subtitle{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.about-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn-about{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.btn:hover{ transform: translateY(-1px); }

.btn-vk{
  background: #eef2ff;
  color: #1f2a5a;
  border-color: #dbe3ff;
}

.btn-mail{
  background: var(--orange-weak);
  color: var(--orange);
  border-color: rgba(249,115,22,.35);
}

.btn-mail:hover{
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.about-chips{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip{
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
}

.about-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card-about{
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.card-title{
  margin: 0 0 10px;
  font-size: 18px;
}

.card-text{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.meta-list, .contact-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.meta-list li span,
.contact-list li span{
  color: var(--muted);
  display: inline-block;
  min-width: 120px;
}

.contact-list a{
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px dashed rgba(249,115,22,.45);
}

.contact-list a:hover{
  border-bottom-style: solid;
}

.tester-list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tester{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: #374151;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

.hint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.card-subtitle{
  margin: 0 0 10px;
  font-size: 15px;
  color: #111827;
}

.card-sep{
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 14px 0;
}

.beta-form{
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field{
  display: grid;
  gap: 6px;
}

.field span{
  font-size: 12.5px;
  color: #6b7280;
}

.beta-form input,
.beta-form textarea{
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  font-size: 14px;
}

.beta-form textarea{
  min-height: 90px;
  resize: vertical;
}

.beta-form input:focus,
.beta-form textarea:focus{
  border-color: rgba(249,115,22,.55);
  box-shadow: 0 0 0 4px rgba(249,115,22,.12);
}

.notice{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
}

.notice-success{
  background: rgba(34,197,94,.08);
  border-color: rgba(34,197,94,.25);
}

.notice-error{
  background: rgba(239,68,68,.06);
  border-color: rgba(239,68,68,.22);
}

.beta-form-wrap{
  margin-top: 14px;
  overflow: hidden;
}

.beta-form-wrap[hidden]{
  display: none;
}

.toggle-btn{
  margin-top: 10px;
}

/* небольшая анимация */
.beta-form{
  animation: fadeSlide .25s ease;
}

@keyframes fadeSlide{
  from{
    opacity: 0;
    transform: translateY(-6px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}


.icon-connection {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px){
  .about-hero{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-actions{ justify-content: center; }
  .about-chips{ justify-content: center; }
  .about-photo img{
    width: 220px;
    height: 220px;
  }
  .about-grid{
    grid-template-columns: 1fr;
  }
  .form-row{ grid-template-columns: 1fr; }
}
