/* sx-contact: Contact page hero + the callback form, in Version E. */
.sx-contact { padding: 150px 0 120px; }
.sx-contact__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.sx-contact__h { font-size: clamp(52px, 6.6vw, 104px); }
.sx-contact__k { margin: 44px 0 12px; font: 600 11px/1 var(--x-d); letter-spacing: .2em; text-transform: uppercase; color: var(--x-grey); }
.sx-contact__lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--x-line); }
.sx-contact__lines a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 2px; border-bottom: 1px solid var(--x-line); color: var(--x-white); text-decoration: none; transition: color .3s; }
.sx-contact__lines b { font: 700 clamp(26px, 2.6vw, 38px)/1 var(--x-d); letter-spacing: -.03em; }
.sx-contact__lines span { justify-self: end; font: 500 clamp(17px, 1.5vw, 22px)/1 var(--x-d); color: var(--x-soft); font-variant-numeric: tabular-nums; }
.sx-contact__i { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--x-acc); color: #0A0A0A; transition: transform .4s var(--x-ease); }
.sx-contact__lines a:hover { color: var(--x-acc); }
.sx-contact__lines a:hover .sx-contact__i { transform: rotate(-12deg) scale(1.08); }
.sx-contact__mail { margin: 20px 0 0; }
.sx-contact__mail a { color: var(--x-soft); font-size: 15px; }
/* the form card */
.sx-contact__form { padding: 38px 36px 34px; border-radius: 28px; background: linear-gradient(180deg, #141414, #0E0E0E); box-shadow: inset 0 0 0 1px var(--x-line), 0 50px 90px -50px rgba(0, 0, 0, .9); }
.sx-contact .callback__title, .sx-contact .callback__done-title { margin: 0 0 22px; font: 700 30px/1.05 var(--x-d); letter-spacing: -.03em; color: var(--x-white); }
.sx-contact .callback__done { text-align: left; }
.sx-contact .callback__tick { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--x-acc); color: #0A0A0A; }
.sx-contact .callback__tick svg { width: 20px; height: 20px; }
.sx-contact .callback__done-msg { color: var(--x-soft); font-size: 16px; line-height: 1.55; }
.sx-contact .cb { display: grid; gap: 18px; }
.sx-contact .cb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sx-contact .cb-field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sx-contact .cb-label { padding: 0; font: 600 12px/1.2 var(--x-d); letter-spacing: .1em; text-transform: uppercase; color: var(--x-grey); }
.sx-contact .cb-opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: #6A6A66; }
.sx-contact .cb-input { width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-radius: 14px; background: #1B1B1B; box-shadow: inset 0 0 0 1px var(--x-line); color: var(--x-white); font: 500 16px/1.3 var(--x-d); transition: box-shadow .25s, background-color .25s; }
.sx-contact .cb-input:focus { outline: none; background: #202020; box-shadow: inset 0 0 0 1.5px var(--x-acc); }
.sx-contact .cb-textarea { min-height: 110px; resize: vertical; }
.sx-contact .is-invalid .cb-input { box-shadow: inset 0 0 0 1.5px #FF6B5A; }
.sx-contact .cb-error, .sx-contact .cb-status { margin: 0; color: #FF8A7A; font-size: 13.5px; }
.sx-contact .cb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-contact .cb-chip { position: relative; cursor: pointer; }
.sx-contact .cb-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sx-contact .cb-chip .chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 30px; background: #1B1B1B; box-shadow: inset 0 0 0 1px var(--x-line); color: var(--x-soft); font: 500 14px/1 var(--x-d); transition: background-color .25s, color .25s, box-shadow .25s; }
.sx-contact .cb-chip__box { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #4A4A47; }
.sx-contact .cb-chip__box svg { width: 11px; height: 11px; opacity: 0; }
.sx-contact .cb-chip input:checked + .chip { background: var(--x-white); color: #0A0A0A; box-shadow: none; }
.sx-contact .cb-chip input:checked + .chip .cb-chip__box { background: var(--x-acc); box-shadow: none; }
.sx-contact .cb-chip input:checked + .chip .cb-chip__box svg { opacity: 1; }
.sx-contact .cb-chip input:focus-visible + .chip { outline: 2px solid var(--x-acc); outline-offset: 2px; }
.sx-contact .cb-more { display: none; }
.sx-contact .cb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sx-contact .cb-submit { display: grid; gap: 12px; margin-top: 4px; }
.sx-contact .cb-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; border: 0; border-radius: 40px; background: var(--x-acc); color: #0A0A0A; font: 700 17px/1 var(--x-d); cursor: pointer; box-shadow: 0 0 0 0 rgba(var(--x-acc-rgb), .4); transition: transform .3s var(--x-ease), box-shadow .4s; }
.sx-contact .cb-button:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(var(--x-acc-rgb), .55); }
.sx-contact .cb-button svg { width: 18px; height: 18px; }
.sx-contact .cb-small { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--x-grey); }
.sx-contact .cb-small a { color: var(--x-soft); }
@media (max-width: 1023px) {
  .sx-contact { padding: 120px 0 90px; }
  .sx-contact__grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 767px) {
  .sx-contact__form { padding: 26px 18px 22px; border-radius: 22px; }
  .sx-contact .cb-row { grid-template-columns: 1fr; }
  .sx-contact__lines a { grid-template-columns: 1fr auto; }
  .sx-contact__lines span { grid-column: 1; justify-self: start; }
  .sx-contact__i { grid-row: 1 / span 2; grid-column: 2; }
}

/* conversion round: the button that brought them here, and the existing / new website choice */
.sx-contact .cb-intent { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 22px; padding: 8px 14px 8px 10px; border-radius: 30px; background: rgba(var(--x-acc-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--x-acc-rgb), .35); font: 600 14px/1.2 var(--x-d); color: var(--x-white); }
.sx-contact .cb-intent span { font-weight: 500; color: var(--x-soft); }
.sx-contact .cb-intent::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--x-acc); }
.sx-contact .cb-site { margin: 0; padding: 0; border: 0; }
.sx-contact .cb-site legend { margin-bottom: 10px; }
/* Launch pass (16 Nov 2026): the longest service name wraps instead of running off a 390px phone. */
.sx-contact .cb-chip { max-width: 100%; }
.sx-contact .cb-chip .chip { max-width: 100%; white-space: normal; line-height: 1.2; }
