.ask {
  --ask-ink: #2d2926; --ask-ink-2: #5c544d; --ask-ink-3: #8a8178; --ask-line: #ede8e2; --ask-field: #e4dbd2;
  --ask-rose: #8f5757; --ask-cta: #ffd3d3; --ask-cta-h: #ffc4c4; --ask-tint: #fff1f1; --ask-tint-line: #ffdcdc; --ask-err: #b0464a;
  --ask-ff: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --ask-ff-d: 'Cormorant Garamond', Georgia, serif;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin: 44px 0 0; text-align: left;
  background: #fff; border: 1px solid var(--ask-line); border-radius: 14px; box-shadow: 0 2px 20px rgba(45,41,38,.05);
  font-family: var(--ask-ff); color: var(--ask-ink); -webkit-font-smoothing: antialiased;
}
.ask *, .ask *::before, .ask *::after { box-sizing: border-box; }
.ask__side { display: flex; flex-direction: column; padding: 30px 28px 28px; border-right: 1px solid var(--ask-line); }
.ask__ic { display: block; width: 48px; height: 48px; margin: -4px 0 12px -4px; }
.ask__h { margin: 0 0 8px; font: 600 28px/1.1 var(--ask-ff-d); color: var(--ask-ink); text-wrap: balance; }
.ask__lead { margin: 0 0 22px; font-size: 14.5px; line-height: 1.55; font-weight: 400; color: var(--ask-ink-2); }
.ask__links { display: grid; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.ask__links li { margin: 0; padding: 0; }
.ask__link {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 7px 12px 7px 7px;
  border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ask-line); color: var(--ask-ink); text-decoration: none;
  transition: box-shadow .2s, background-color .2s;
}
.ask__link:hover { background: #fffafa; box-shadow: inset 0 0 0 1px var(--ask-tint-line); color: var(--ask-ink); }
.ask__link:focus-visible { outline: 2px solid #e9b3b3; outline-offset: 2px; }
.ask__lic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ask-tint); color: var(--ask-rose); transition: background-color .2s; }
.ask__link:hover .ask__lic { background: var(--ask-cta); }
.ask__lic svg { width: 20px; height: 20px; fill: currentColor; }
.ask__lt { display: grid; min-width: 0; }
.ask__lt b { font-size: 14px; font-weight: 700; line-height: 1.3; }
.ask__lt span { overflow: hidden; font-size: 13px; line-height: 1.35; color: var(--ask-ink-3); white-space: nowrap; text-overflow: ellipsis; }
.ask__go { width: 18px; height: 18px; fill: none; stroke: var(--ask-ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s, stroke .2s; }
.ask__link:hover .ask__go { transform: translateX(3px); stroke: var(--ask-rose); }
.ask__main { display: grid; padding: 28px 28px 26px; }
.ask__form { display: grid; gap: 16px; }
.ask__form[hidden] { display: none; }
.ask__f { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ask__lb { float: none; width: auto; margin: 0; padding: 0; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--ask-ink-2); }
.ask__in {
  display: block; width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid var(--ask-field); border-radius: 12px; background: #fff;
  font: 500 15px/1.4 var(--ask-ff); color: var(--ask-ink); box-shadow: none; outline: 0; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.ask__in::placeholder { color: #b0a79e; opacity: 1; }
.ask__in:hover { border-color: #d8ccc0; }
.ask__in:focus { border-color: #eeb4b4; box-shadow: 0 0 0 3px var(--ask-tint); }
.ask__ta { height: auto; min-height: 108px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.ask__f.is-err > .ask__in { border-color: #e2a1a3; box-shadow: 0 0 0 3px #fdeeee; }
.ask__err, .ask__ferr { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--ask-err); }
.ask__err:empty, .ask__ferr:empty { display: none; }
.ask__seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: #f6f1ed; }
.ask__seg label { position: relative; margin: 0; padding: 0; cursor: pointer; }
.ask__seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ask__seg span { display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 6px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: var(--ask-ink-3); transition: background-color .2s, color .2s, box-shadow .2s; }
.ask__seg label:hover span { color: var(--ask-ink); }
.ask__seg input:checked + span { background: #fff; color: var(--ask-ink); box-shadow: 0 1px 3px rgba(45,41,38,.08), inset 0 0 0 1px var(--ask-line); }
.ask__seg input:focus-visible + span { outline: 2px solid #e9b3b3; outline-offset: 1px; }
.ask__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 10px; }
.ask__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ask__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 2px; }
.ask__btn {
  height: 52px; margin: 0; padding: 0 26px; border: 0; border-radius: 12px; background: var(--ask-cta); color: var(--ask-ink);
  font: 800 15px/1 var(--ask-ff); letter-spacing: .01em; cursor: pointer; box-shadow: inset 0 -2px 0 rgba(214,110,110,.16);
  transition: background-color .2s, transform .25s, box-shadow .25s;
}
.ask__btn:hover { background: var(--ask-cta-h); transform: translateY(-1px); box-shadow: inset 0 -2px 0 rgba(214,110,110,.2), 0 12px 24px -12px rgba(240,128,128,.55); }
.ask__btn:active { transform: translateY(0) scale(.98); }
.ask__btn:disabled { cursor: default; opacity: .7; transform: none; }
.ask__note { flex: 1 1 180px; margin: 0; font-size: 12px; line-height: 1.45; color: var(--ask-ink-3); }
.ask__note a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(138,129,120,.4); transition: color .2s, border-color .2s; }
.ask__note a:hover { color: var(--ask-rose); border-bottom-color: currentColor; }
.ask__done { display: grid; align-content: center; justify-items: start; gap: 10px; }
.ask__done[hidden] { display: none; }
.ask__done-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ask-tint); color: var(--ask-rose); }
.ask__done-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ask__done-h { margin: 6px 0 0; font: 600 26px/1.1 var(--ask-ff-d); color: var(--ask-ink); }
.ask__done-t { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ask-ink-2); }
.ask__again { margin: 4px 0 0; padding: 0; border: 0; background: none; font: 700 14px/1.4 var(--ask-ff); color: var(--ask-ink); cursor: pointer; border-bottom: 1px solid rgba(143,87,87,.3); transition: color .2s, border-color .2s; }
.ask__again:hover { color: var(--ask-rose); border-bottom-color: currentColor; }
@media (max-width: 720px) {
  .ask { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .ask__side { padding: 24px 18px 20px; border-right: 0; border-bottom: 1px solid var(--ask-line); }
  .ask__h { font-size: 26px; }
  .ask__lead { margin-bottom: 18px; }
  .ask__main { padding: 22px 18px 22px; }
  .ask__btn { flex: 1 1 100%; }
}
@media (max-width: 400px) {
  .ask__row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ask * { transition-duration: .01ms !important; }
}
