/* ============================================================
   CONTACTS HERO
   ============================================================ */
.contacts-hero {
  padding: 128px 0 48px;
  background:
    radial-gradient(600px 340px at 92% -20%, rgba(255,122,0,.08), transparent 65%),
    radial-gradient(560px 400px at -10% 20%, rgba(57,49,133,.07), transparent 65%),
    #F7F8FA;
  position: relative;
  overflow: hidden;
}
.contacts-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,122,0,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,122,0,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 85%);
}

.contacts-h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15; font-weight: 800; letter-spacing: -.03em;
  color: #0B1220; margin: 0 0 14px;
  max-width: 900px;
}
.contacts-h1 .accent-mark { position: relative; color: #393185; z-index: 0; }
.contacts-h1 .accent-mark::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 7px;
  background: #EBFF00; z-index: -1; opacity: .85; border-radius: 2px;
}
.contacts-sub {
  font-size: 1rem; color: #4B5563; line-height: 1.6;
  max-width: 680px; margin: 0; font-weight: 400;
}


/* ============================================================
   CONTACTS LAYOUT
   ============================================================ */
.contacts-section {
  padding: 56px 0 96px;
  background: #F7F8FA;
  position: relative;
}
@media (min-width: 1024px) {
  .contacts-section { padding: 72px 0 112px; }
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .contacts-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
  }
}


/* ============================================================
   CONTACT ITEMS (левая колонка)
   ============================================================ */
.contacts-info__title {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em;
  color: #0B1220; margin: 0 0 24px;
}

.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(11,18,32,.08);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(11,18,32,.04);
  transition: transform .3s cubic-bezier(.2,.8,.25,1), border-color .3s ease, box-shadow .3s ease;
  margin-bottom: 12px;
}
.contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,122,0,.3);
  box-shadow: 0 12px 28px -14px rgba(255,122,0,.25);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,122,0,.12), rgba(57,49,133,.10));
  color: #393185;
  transition: background .3s ease, color .3s ease;
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item:hover .contact-item__icon {
  background: linear-gradient(135deg, rgba(255,122,0,.2), rgba(57,49,133,.18));
  color: #E06B00;
}

.contact-item__icon--tg {
  background: linear-gradient(135deg, rgba(0,160,227,.14), rgba(0,160,227,.06));
  color: #0080B8;
}
.contact-item:hover .contact-item__icon--tg {
  background: linear-gradient(135deg, rgba(0,160,227,.22), rgba(0,160,227,.1));
  color: #006C9A;
}

.contact-item__icon--app {
  background: linear-gradient(135deg, rgba(57,49,133,.14), rgba(57,49,133,.06));
  color: #393185;
}

.contact-item__body { flex: 1; min-width: 0; }
.contact-item__label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #9CA3AF;
  margin-bottom: 3px;
}
.contact-item__value {
  font-size: 1rem; font-weight: 700; color: #0B1220;
  line-height: 1.3;
  transition: color .25s ease;
}
.contact-item:hover .contact-item__value { color: #E06B00; }
.contact-item__hint {
  font-size: .8rem; color: #9CA3AF;
  margin-top: 3px; line-height: 1.4;
}

.contact-item--muted .contact-item__value { color: #4B5563; }
.contact-item--muted:hover .contact-item__value { color: #E06B00; }


/* ============================================================
   CONTACTS FORM CARD
   ============================================================ */
.contacts-form-card {
  background: #FFFFFF;
  border: 1px solid rgba(11,18,32,.08);
  border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(57,49,133,.28), 0 4px 16px -4px rgba(11,18,32,.06);
  padding: 36px 32px 30px;
  position: relative;
  overflow: hidden;
}
.contacts-form-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #FF7A00 0%, #393185 60%, #EBFF00 100%);
}

.contacts-form-card__head { margin-bottom: 24px; }
.contacts-form-card__title {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em;
  color: #0B1220; margin: 0 0 6px;
}
.contacts-form-card__sub {
  font-size: .88rem; color: #6B7280;
  line-height: 1.5; margin: 0;
}

/* Textarea — расширяем hero-field для многострочного поля */
.contacts-form-card textarea {
  width: 100%;
  padding: 11px 13px;
  background: #F7F8FA;
  border: 1px solid rgba(11,18,32,.08);
  border-radius: 6px;
  font-size: .92rem;
  color: #0B1220;
  font-family: inherit;
  line-height: 1.5;
  resize: vertical;
  min-height: 110px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none;
}
.contacts-form-card textarea:focus {
  border-color: #FF7A00;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(255,122,0,.12);
}


/* ============================================================
   CONTACTS CTA
   ============================================================ */
.contacts-cta {
  padding: 72px 0 96px;
  background: #fff;
  border-top: 1px solid rgba(11,18,32,.06);
  position: relative;
  overflow: hidden;
}
.contacts-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255,122,0,.06), transparent 65%),
    radial-gradient(600px 300px at 50% 100%, rgba(57,49,133,.05), transparent 65%);
  pointer-events: none;
}
.contacts-cta__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800; letter-spacing: -.03em;
  color: #0B1220; margin: 0 0 12px;
  line-height: 1.2;
}
.contacts-cta__text {
  font-size: 1rem; color: #6B7280;
  max-width: 560px; margin: 0 auto 26px;
  line-height: 1.6;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 560px) {
  .contacts-hero { padding: 112px 0 32px; }
  .contacts-section { padding: 40px 0 72px; }
  .contacts-cta { padding: 56px 0 72px; }

  .contact-item { padding: 16px; gap: 12px; }
  .contact-item__icon { width: 40px; height: 40px; border-radius: 10px; }
  .contact-item__icon svg { width: 18px; height: 18px; }
  .contact-item__value { font-size: .95rem; }

  .contacts-form-card { padding: 28px 22px 24px; }
  .contacts-form-card__title { font-size: 1.2rem; }
}