/* Contact */
.contact__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.brief {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  padding: 0;
  overflow: hidden;
}
.brief__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.field { padding: 22px 24px; border-bottom: 1px dashed var(--line); }
.field:last-of-type { border-bottom: 0; }
.field > label { display: flex; gap: 12px; align-items: baseline; margin-bottom: 12px; }
.field .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); letter-spacing: .06em; text-transform: uppercase; }
.req { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent-ink); background: var(--accent-soft); padding: 2px 8px; border-radius: 4px; letter-spacing: .04em; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.brief input[type="text"], .brief input[type="email"], .brief input[type="url"], .brief textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font: inherit; font-size: 14.5px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.brief textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 130px; line-height: 1.55; }
.brief input:focus, .brief textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.brief input::placeholder, .brief textarea::placeholder { color: var(--ink-4); }
.textarea-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--ink-4); }

.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-pick { cursor: pointer; }
.chip-pick input { display: none; }
.chip-pick span {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: .02em;
  transition: all .15s ease;
}
.chip-pick span .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); }
.chip-pick input:checked + span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.chip-pick input:checked + span .dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(30,58,255,.2); }

.seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
  flex-wrap: wrap;
}
.seg button {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  font: inherit; font-size: 13px; color: var(--ink-3);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.seg button:last-child { border-right: 0; }
.seg button:hover { background: var(--bg-soft); color: var(--ink); }
.seg button.active { background: var(--ink); color: #fff; }

.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.check span { font-size: 14px; color: var(--ink-2); }

.brief__foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  flex-wrap: wrap;
}

/* Aside */
.contact__aside { display: flex; flex-direction: column; gap: 18px; }
.aside-card { padding: 24px; }
.contact-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; }
.contact-list li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
}
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list a { font-family: var(--font-sans); font-size: 16px; font-weight: 500; }
.contact-list a:hover { color: var(--accent-ink); }

.map { padding: 0; overflow: hidden; }
.map__head, .map__foot { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.map__head { border-bottom: 1px solid var(--line); }
.map__foot { border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-4); }
.map__svg { width: 100%; display: block; height: 200px; }

.careers { padding: 24px; }
.job-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.job-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.job-list a:hover { border-color: var(--ink); transform: translateX(2px); }
.job-list a b { font-weight: 500; }
.job-list a .num { font-size: 11px; color: var(--ink-4); letter-spacing: .04em; }

@media (max-width: 1080px) {
  .contact__inner { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
}
