body.page-contacts {
  background: #07070b;
  color: #e5e7eb;
}
body.page-contacts .loader { background: #07070b; }

.contacts-hero .about-hero-inner {
  max-width: 760px;
}
.contacts-sec {
  padding: 0 0 96px;
  position: relative;
}
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 28px;
  align-items: start;
}
.contacts-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contacts-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.contacts-card-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(165,180,252,.18), rgba(232,121,249,.08));
  border: 1px solid rgba(165,180,252,.28);
  box-shadow: 0 8px 22px rgba(99,102,241,.16);
}
.contacts-card-body {
  min-width: 0;
  flex: 1;
}
a.contacts-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167,139,250,0.45);
}
.contacts-card-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c4b5fd;
}
.contacts-card strong {
  display: block;
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.contacts-card p {
  margin: 8px 0 0;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.5;
}
.contacts-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.contacts-social {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
  transition: transform .2s ease, border-color .2s ease;
}
.contacts-social:hover {
  transform: translateY(-2px);
  border-color: rgba(167,139,250,0.45);
}
.contacts-social .contacts-card-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.contacts-social .contacts-card-kicker {
  margin-bottom: 4px;
}
.contacts-social strong {
  font-size: 15px;
}
.contacts-form-shell {
  position: relative;
  padding: 1px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(165,180,252,.45), rgba(232,121,249,.22) 42%, rgba(251,191,36,.28));
}
.contacts-form-glow {
  position: absolute;
  inset: 12% 18% auto;
  height: 140px;
  background: radial-gradient(circle, rgba(168,85,247,.28), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}
.contacts-form {
  position: relative;
  padding: 32px 32px 28px;
  border-radius: 27px;
  background: rgba(12,12,18,.92);
}
.contacts-form h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.contacts-form-lead {
  margin: 0 0 22px;
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.55;
}
.contacts-field {
  display: block;
  margin: 0 0 14px;
}
.contacts-field > span {
  display: block;
  margin-bottom: 7px;
  color: rgba(229,231,235,.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contacts-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.contacts-topic {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.contacts-topic input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.contacts-topic em {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #e5e7eb;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.contacts-topic input:focus-visible + em {
  box-shadow: 0 0 0 3px rgba(139,92,246,.18);
}
.contacts-topic input:checked + em {
  border-color: rgba(167,139,250,.75);
  background: linear-gradient(160deg, rgba(165,180,252,.22), rgba(232,121,249,.12));
  color: #fff;
}
.contacts-field input,
.contacts-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  font: 15px/1.45 inherit;
  outline: none;
  resize: vertical;
}
.contacts-field input:focus,
.contacts-field textarea:focus {
  border-color: rgba(167,139,250,.7);
  box-shadow: 0 0 0 3px rgba(139,92,246,.18);
}
.contacts-captcha {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contacts-captcha input {
  flex: 1;
  min-width: 0;
}
.contacts-captcha-img {
  height: 46px;
  width: auto;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,.35);
}
.contacts-submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}
.contacts-submit:disabled {
  opacity: .55;
  cursor: default;
  transform: none;
}
.contacts-next {
  margin: 18px 0 0;
  padding: 16px 16px 14px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.5;
}
.contacts-next li + li {
  margin-top: 8px;
}
.contacts-next strong {
  color: #e5e7eb;
  font-weight: 600;
}
.contacts-err,
.contacts-ok {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.contacts-err {
  color: #fecaca;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.28);
}
.contacts-ok {
  color: #bbf7d0;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.28);
}
.contacts-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .contacts-form {
    padding: 24px 18px 22px;
  }
}
