/* /contact page blocks only (GQC-SITE-35). Everything else comes from site.css; the form's fields are the app's
   reskinForm.css (.rk-form), mounted at the end of section#form. */

/* the sales door: copy + steps on one side, the form card on the other from 1024px; stacked below, form under the
   steps. Start-aligned at every width: a form page reads down one edge, not from the centre. */
.ct{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr);gap:48px;padding:88px var(--pad) 0;align-items:start}
.ct-copy{min-width:0}
.ct-copy h1{max-width:13ch;text-wrap:balance;font-size:var(--gb-type-display-3-size);line-height:var(--gb-type-display-3-lh)}
.ct-copy .sub{max-width:46ch;margin:24px 0 0}
/* English set in the same column: Latin display lines run longer than Arabic, so a wider measure and one step down */
[dir=ltr] .ct-copy h1{max-width:20ch}
@media (min-width:861px){[dir=ltr] .ct-copy h1{font-size:calc(var(--gb-type-display-3-size) * .82)}}
.ct-copy .go-alt{margin-top:36px}

/* what happens after the send: three numbered steps (Western digits), one line each */
.ct-steps{list-style:none;margin:44px 0 0;padding:0;display:grid;gap:0;counter-reset:ct;max-width:520px;border-top:1px solid var(--gb-border)}
.ct-steps li{counter-increment:ct;display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:16px;row-gap:2px;padding:16px 0;border-bottom:1px solid var(--gb-border)}
.ct-steps li::before{content:counter(ct);grid-row:1 / span 2;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--gb-surface-ai);color:var(--gb-text-brand);font-size:var(--gb-type-caption-size);font-weight:var(--gb-weight-semibold);font-variant-numeric:tabular-nums}
.ct-steps b{font-size:var(--gb-type-ui-size);font-weight:var(--gb-weight-semibold);color:var(--gb-text);line-height:var(--gb-type-ui-lh)}
.ct-steps span{font-size:var(--gb-type-body-sm-size);line-height:var(--gb-type-body-sm-lh);color:var(--gb-text-muted)}

/* the form card */
.ct-form{position:relative;z-index:2;min-width:0;background:var(--gb-surface);border:1px solid var(--gb-border);border-radius:var(--gb-radius-2xl);padding:32px;box-shadow:0 1px 2px rgb(var(--gb-color-ink-rgb) / .04),0 28px 56px -32px rgb(var(--gb-color-ink-rgb) / .22)}
.ct-form > header{margin:0 0 24px}
.ct-form > header h2{margin:0;font-family:var(--gb-font-display);font-weight:var(--gb-weight-semibold);font-size:var(--gb-type-heading-2-size);line-height:var(--gb-type-heading-2-lh)}
.ct-form > header p{margin:6px 0 0;font-size:var(--gb-type-caption-size);line-height:var(--gb-type-caption-lh);color:var(--gb-text-muted)}

@media (min-width:1024px){
  .ct{grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:72px;padding-top:104px}
  .ct-form{position:sticky;top:96px}
}
@media (min-width:1440px){.ct{gap:120px;grid-template-columns:minmax(0,1fr) 540px}}
/* below 1024 the form comes right after the ask (a field in the first phone view), the steps after it */
@media (max-width:1023px){
  .ct{gap:0}
  .ct-copy{display:contents}
  .ct-form{order:1;margin-top:32px}
  .ct-steps{order:2}
  .ct-copy .go-alt{order:3}
}
@media (max-width:860px){
  .ct{padding:48px var(--gutter) 0}
  .ct-copy h1{margin-inline:0}
  .ct-copy .sub{margin:16px 0 0;max-width:none}
  .ct-copy .go-alt{justify-content:flex-start;margin-inline:0}
  .ct-steps{margin-top:32px}
  .ct-form{padding:24px 20px;border-radius:var(--gb-radius-xl)}
}
