/* ============================================================
   NOXWAVE STUDIO — pages/contacts.css
   Контакты: layout формы + сайдбар, каналы связи, шаги, FAQ
   ============================================================ */

/* ---------- Общий layout страницы ---------- */
.contact-page {
  padding-top: 40px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* ---------- Левая колонка: форма ---------- */
.contact-form-wrap {
  min-width: 0;
}

.contact-form-wrap h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 14px 0 14px;
}

.contact-form-lead {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 34px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---------- Правая колонка: сайдбар ---------- */
.contact-side {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-side-block {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-side-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* ---------- Каналы связи ---------- */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.contact-channel {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.contact-channel:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.contact-channel b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.2px;
}

.contact-channel span {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 3px;
}

.contact-channel i {
  font-style: normal;
  color: var(--text-dim);
  font-size: 14px;
  transition: color var(--t) var(--ease), transform var(--t) var(--ease);
}

.contact-channel:hover i {
  color: var(--cyan);
  transform: translate(2px, -2px);
}

/* ---------- Шаги "что дальше" ---------- */
.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
  counter-reset: step;
}

.contact-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-steps li > span {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--cyan);
  padding-top: 2px;
  width: 24px;
}

.contact-steps li b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.2px;
  margin-bottom: 5px;
}

.contact-steps li p {
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Note / примечание ---------- */
.contact-note {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(0, 217, 255, .03);
}

.contact-note-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 217, 255, .12);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  flex-shrink: 0;
}

.contact-note p {
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Часы работы ---------- */
.contact-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.contact-hours span {
  color: var(--text-dim);
}

.contact-hours b {
  font-weight: 600;
  color: var(--text);
}

/* ---------- Финальный блок с прямыми контактами ---------- */
.contact-direct-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-side {
    position: static;
  }
}

@media (max-width: 850px) {
  .contact-form-wrap h2 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .contact-channel {
    padding: 12px 14px;
  }

  .contact-channel-icon {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .contact-side-block {
    padding-bottom: 20px;
  }
}

@media (max-width: 520px) {
  .contact-form-lead {
    font-size: 12px;
  }

  .contact-channel b {
    font-size: 12px;
  }

  .contact-channel span {
    font-size: 10px;
    word-break: break-all;
  }

  .contact-hours li {
    font-size: 11px;
  }
}