/* Contact page: 720px form + 384px rail */
.ct { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 384px); gap: 48px; justify-content: space-between; align-items: start; }
.ct__form { order: 1; }
.ct__rail { order: 2; display: grid; gap: 16px; position: sticky; top: 104px; }
.ct__intro { font-size: 15px; color: var(--body); }
.ct__mail { border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: grid; gap: 8px; }
.ct__addr { font-size: 20px; font-weight: 700; color: var(--ink); text-decoration: none; user-select: all; -webkit-user-select: all; letter-spacing: -0.01em; }
.ct__addr:hover { color: var(--blue); }
.ct__co { display: grid; gap: 8px; padding: 28px; background: var(--black); border: 1px solid var(--black); border-radius: var(--r-card); }
.ct__co .h3 { color: var(--white); }
.ct__co p { color: #c9cfe0; font-size: 16px; line-height: 24px; }
.ct__topic-select { display: none; }
.ct__topic-select select { width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; font-size: 16px; background: var(--white); color: var(--ink); }
.ct__topic-select select:focus { outline: none; border-color: var(--blue); }
.ct .hint a { color: var(--ink); font-weight: 600; }
.ct__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ct__status { font-size: 15px; color: var(--warn); min-height: 0; }
.ct__status:empty { display: none; }
.ct__status.is-ok { color: #0b5c41; background: #eaf7f1; border-radius: var(--r-sm); padding: 14px 16px; }

@media (max-width: 1080px) {
  .ct { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}
@media (max-width: 820px) {
  .ct { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ct__rail { order: 0; position: static; }
  .ct__co { order: 3; }
}
/* Phones: direct email first, a native select for the topic, full-width actions */
@media (max-width: 700px) {
  .ct { display: flex; flex-direction: column; }
  .ct__rail { display: contents; }
  .ct__mail { order: 0; padding: 20px; }
  .ct__form { order: 1; padding: 20px; }
  .ct__co { order: 2; padding: 20px; }
  .ct__topic-select { display: grid; }
  .ct__topic-chips { display: none; }
  .ct__actions .btn { width: 100%; }
}
/* Hidden trap field for bots (off-screen, not display:none so simple bots still fill it). */
.ct__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct__ts:empty { display: none; }
.ct__form input::placeholder, .ct__form textarea::placeholder { color: #9aa1b8; }

/* Marketing opt-in toggle (off by default: consent must be a positive choice). */
.ct__opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; cursor: pointer; padding: 4px 0; }
.ct__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct__switch { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--line); transition: background .2s; margin-top: 1px; }
.ct__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(6,15,45,.25); transition: transform .2s; }
.ct__opt input:checked + .ct__switch { background: var(--blue); }
.ct__opt input:checked + .ct__switch::after { transform: translateX(18px); }
.ct__opt input:focus-visible + .ct__switch { outline: 2px solid var(--blue); outline-offset: 2px; }
.ct__opt-text { display: grid; gap: 2px; }
.ct__opt-text b { font-weight: 600; color: var(--ink); }
.ct__opt-text small { font-size: 14px; color: var(--slate); line-height: 1.45; }
