/* /contact/ — on the public shell, design-system tokens only. */
.ctp { padding-block: var(--bel-space-12, 3rem) var(--bel-space-16, 4rem); }
.ctp-head { max-width: 640px; margin-bottom: var(--bel-space-8, 2rem); }
.ctp-head .bel-lead { margin-top: var(--bel-space-3, .75rem); }

.ctp-grid { display: grid; gap: var(--bel-space-6, 1.5rem); }
@media (min-width: 900px) {
  .ctp-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
}

.ctp-form-card { padding: clamp(20px, 3vw, 32px); scroll-margin-top: calc(var(--bel-header-height, 60px) + 16px); }
.ctp-form { display: grid; gap: var(--bel-space-5, 1.25rem); }

/* Topic: real radio buttons dressed as pills, so they work with a keyboard and without JavaScript. */
.ctp-topics { margin: 0; padding: 0; border: 0; min-width: 0; }
.ctp-topics legend { padding: 0; font-size: var(--bel-text-sm); font-weight: var(--bel-weight-medium); }
.ctp-topic-list { display: flex; flex-wrap: wrap; gap: var(--bel-space-2, .5rem); margin-top: var(--bel-space-2, .5rem); }
.ctp-topic { position: relative; }
.ctp-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ctp-topic span {
  display: inline-flex; align-items: center; min-height: var(--bel-tap-target, 44px); padding: 0 16px;
  border: 1px solid var(--bel-border-strong); border-radius: var(--bel-radius-pill, 999px);
  background: var(--bel-bg-raised); color: var(--bel-text); font-weight: var(--bel-weight-medium); cursor: pointer;
  transition: background-color var(--bel-duration-fast) var(--bel-ease), border-color var(--bel-duration-fast) var(--bel-ease);
}
.ctp-topic input:checked + span { background: var(--bel-brand-soft); border-color: var(--bel-brand); color: var(--bel-brand-strong); }
.ctp-topic input:focus-visible + span { outline: 2px solid var(--bel-focus-ring); outline-offset: 2px; }

.ctp-form .bel-textarea { min-height: 160px; }
.ctp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ctp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bel-space-3, .75rem) var(--bel-space-4, 1rem); }
.ctp-note { margin: 0; color: var(--bel-text-muted); font-size: var(--bel-text-sm); }
.ctp-status { margin: 0; font-size: var(--bel-text-sm); }
.ctp-status.is-error { color: var(--bel-danger); }
.ctp-status:empty { display: none; }

.ctp-done { text-align: center; padding: var(--bel-space-10, 2.5rem) var(--bel-space-4, 1rem); }
.ctp-done[hidden] { display: none; }
.ctp-done__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--bel-success-soft); color: var(--bel-success);
}
.ctp-done h2 { margin: var(--bel-space-4, 1rem) 0 var(--bel-space-2, .5rem); }
.ctp-done p { margin: 0 auto var(--bel-space-5, 1.25rem); max-width: 40ch; color: var(--bel-text-muted); }

.ctp-aside { display: grid; gap: var(--bel-space-4, 1rem); }
.ctp-aside .bel-card { padding: var(--bel-space-5, 1.25rem); }
.ctp-aside h2 { margin: 0 0 var(--bel-space-4, 1rem); }
.ctp-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--bel-space-4, 1rem); }
.ctp-ways li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ctp-ways .ic {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--bel-brand-soft); color: var(--bel-brand);
}
.ctp-ways small { display: block; color: var(--bel-text-muted); font-size: var(--bel-text-xs, .75rem); }
.ctp-ways a, .ctp-ways b { color: var(--bel-text); font-weight: var(--bel-weight-semibold, 600); text-decoration: none; overflow-wrap: anywhere; }
.ctp-ways a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ctp-call p { margin: 0 0 var(--bel-space-4, 1rem); color: var(--bel-text-muted); }

/* ---- phones -------------------------------------------------------------- */
.ctp-head .bel-h1 { font-size: var(--bel-text-4xl); line-height: 1.02; letter-spacing: -0.035em; }
.ctp-head .bel-serif-accent { color: var(--bel-brand); font-weight: var(--bel-weight-regular); letter-spacing: -0.01em; }
@media (max-width: 640px) {
  .ctp-topic-list { display: grid; grid-template-columns: 1fr 1fr; }
  .ctp-topic span { display: flex; align-items: center; justify-content: center; min-height: 48px; text-align: center; line-height: 1.2; padding-inline: var(--bel-space-3); }
  .ctp-actions .bel-btn, .ctp-call .bel-btn { width: 100%; justify-content: center; }
  .ctp-ways a { display: inline-block; padding-block: 4px; }
}
