/* Contact page (tools/v7/families/convert_contact.py). Loaded only on contact.html, on top of convert.css.
   Sharp corners, lime as fill only, motion is transform and opacity only. Right-to-left rules are at the end. */
.t7-convert .cv--contact{--cx-pad:clamp(20px,2vw,34px)}

/* ---------- hero: text and presence on one side, the form on the other ---------- */
.t7-convert .cv--contact .cx-hero__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:clamp(32px,4.4vw,88px);align-items:start}
.t7-convert .cv--contact .cx-say{padding-top:clamp(8px,1.4vw,28px)}
.t7-convert .cv--contact .cx-hq{display:block;margin-top:clamp(34px,3.4vw,56px);color:inherit;text-decoration:none}
.t7-convert .cv--contact .cx-hq ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none;border-top:2px solid var(--t7-ink)}
.t7-convert .cv--contact .cx-hq li{position:relative;padding:18px 14px 0 0}
.t7-convert .cv--contact .cx-hq li+li{padding-inline-start:18px;border-inline-start:1px solid var(--t7-line)}
.t7-convert .cv--contact .cx-hq li:first-child::before{content:"";position:absolute;top:-2px;inset-inline:0 14px;height:6px;background:var(--t7-lime)}
.t7-convert .cv--contact .cx-hq b{display:block;font:600 clamp(18px,1.45vw,24px)/1.15 var(--display);letter-spacing:-.02em}
.t7-convert .cv--contact .cx-hq span{display:block;margin-top:6px;color:var(--t7-soft);font-size:14px;line-height:1.4}
.t7-convert .cv--contact .cx-hq:hover b{color:var(--t7-blue)}

/* ---------- the form card ---------- */
.t7-convert .cv--contact .cx-card{position:relative;margin-inline-end:14px;padding:var(--cx-pad);background:#fff;border:2px solid var(--t7-ink);
  box-shadow:calc(14px*var(--side)) 14px 0 var(--t7-blue);scroll-margin-top:100px}
.t7-convert .cv--contact .cx-card::before{content:"";position:absolute;inset:-2px -2px auto;height:8px;background:var(--t7-lime);border:2px solid var(--t7-ink)}
.t7-convert .cv--contact .cx-card__h>span{display:block;color:var(--t7-blue);font:600 13px/1.3 var(--display);letter-spacing:.11em;text-transform:uppercase}
.t7-convert .cv--contact .cx-card__h h2{margin:8px 0 0;color:var(--t7-ink);font:600 clamp(26px,2.2vw,36px)/1.1 var(--display);letter-spacing:-.025em}
.t7-convert .cv--contact .cx-card__h p{margin:8px 0 0;color:var(--t7-soft);font-size:15px;line-height:1.5}
.t7-convert .cv--contact .cx-form{margin-top:20px}
.t7-convert .cv--contact .cx-topics{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0;min-width:0}
.t7-convert .cv--contact .cx-topics legend{width:100%;margin-bottom:10px;padding:0;color:var(--t7-ink);font:600 14px/1.3 var(--body)}
.t7-convert .cv--contact .cx-topic{position:relative;display:inline-flex;cursor:pointer}
.t7-convert .cv--contact .cx-topic input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.t7-convert .cv--contact .cx-topic span{display:inline-flex;align-items:center;min-height:42px;padding:9px 14px;border:2px solid var(--t7-line);background:#fff;color:var(--t7-ink);font:600 14px/1.2 var(--body);transition:transform .15s}
.t7-convert .cv--contact .cx-topic:hover span{border-color:var(--t7-ink)}
.t7-convert .cv--contact .cx-topic input:checked+span{background:var(--t7-lime);border-color:var(--t7-ink);box-shadow:calc(4px*var(--side)) 4px 0 var(--t7-ink)}
.t7-convert .cv--contact .cx-topic input:focus-visible+span{outline:3px solid var(--t7-blue);outline-offset:3px}
.t7-convert .cv--contact .cx-hints{min-height:1.5em;margin-top:12px}
.t7-convert .cv--contact .cx-hint{margin:0;padding-inline-start:12px;border-inline-start:3px solid var(--t7-blue);color:var(--t7-soft);font-size:14px;line-height:1.5}
.t7-convert .cv--contact .cx-hint a{color:var(--t7-blue);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.t7-convert .cv--contact .cx-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin-top:18px}
.t7-convert .cv--contact .cx-form .f{display:flex;flex-direction:column;gap:6px;min-width:0}
.t7-convert .cv--contact .cx-form .f--full{margin-top:14px}
.t7-convert .cv--contact .cx-form label{color:var(--t7-ink);font:600 14px/1.3 var(--body)}
.t7-convert .cv--contact .cx-form label small{color:var(--t7-soft);font-weight:400}
.t7-convert .cv--contact .cx-form :is(input:not([type=radio]),textarea){width:100%;min-height:48px;padding:11px 13px;background:#fff;border:2px solid #B9BFE6;border-radius:0;color:var(--t7-ink);font:400 16px/1.4 var(--body);appearance:none}
.t7-convert .cv--contact .cx-form textarea{min-height:112px;resize:vertical}
.t7-convert .cv--contact .cx-form :is(input,textarea)::placeholder{color:#7A80A0}
.t7-convert .cv--contact .cx-form :is(input:not([type=radio]),textarea):focus{outline:0;border-color:var(--t7-blue);box-shadow:inset 0 0 0 1px var(--t7-blue)}
.t7-convert .cv--contact .cx-form .is-error :is(input,textarea){border-color:#B42A14}
.t7-convert .cv--contact .cx-form .f__msg{color:#B42A14;font-size:13.5px;line-height:1.4}
.t7-convert .cv--contact .cx-form .f__msg:empty{display:none}
.t7-convert .cv--contact .cx-err{margin:12px 0 0;color:#B42A14;font-size:14px;font-weight:600}
.t7-convert .cv--contact .cx-err:empty{display:none}
.t7-convert .cv--contact .cx-send{width:100%;justify-content:center;margin-top:18px}
.t7-convert .cv--contact .cx-note{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--t7-line);color:var(--t7-soft);font-size:13.5px;line-height:1.5}

/* ---------- proof: figures, customer logos, awards ---------- */
.t7-convert .cv--contact .cx-proof{padding-block:clamp(48px,5vw,84px)}
.t7-convert .cv--contact .cx-proof__nums{margin-bottom:clamp(44px,4.6vw,76px)}
.t7-convert .cv--contact .cx-awards{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px clamp(24px,3vw,48px);align-items:center;margin-top:clamp(40px,4vw,64px);padding-top:clamp(28px,2.6vw,40px);border-top:1px solid var(--t7-line)}
.t7-convert .cv--contact .cx-awards .cv-kick{margin:0}
.t7-convert .cv--contact .cx-awards ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px clamp(18px,2vw,32px);margin:0;padding:0;list-style:none}
.t7-convert .cv--contact .cx-awards li{display:flex;align-items:center;gap:14px;min-width:0}
.t7-convert .cv--contact .cx-awards li>span:last-child{min-width:0}
.t7-convert .cv--contact .cx-awards b{display:block;color:var(--t7-ink);font:600 15px/1.3 var(--display)}
.t7-convert .cv--contact .cx-awards small{display:block;margin-top:3px;color:var(--t7-soft);font-size:13px;line-height:1.35}
.t7-convert .cv--contact .cx-awards .cv-go{white-space:nowrap}

/* ---------- the four routes ---------- */
.t7-convert .cv--contact .cx-routes__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:clamp(36px,3.6vw,60px) 0 0;padding:0;list-style:none}
.t7-convert .cv--contact .cx-route{position:relative;display:flex;flex-direction:column;padding:var(--cx-pad);background:#fff;border:1px solid var(--t7-line);box-shadow:calc(8px*var(--side)) 8px 0 #E1E5FA}
.t7-convert .cv--contact .cx-route::before{content:"";position:absolute;inset:-1px -1px auto;height:4px;background:var(--t7-blue)}
.t7-convert .cv--contact .cx-route:first-child{background:var(--t7-ink);border-color:var(--t7-ink);box-shadow:calc(8px*var(--side)) 8px 0 var(--t7-blue);color:#fff}
.t7-convert .cv--contact .cx-route:first-child::before{background:var(--t7-lime)}
.t7-convert .cv--contact .cx-route img{width:64px;height:64px;margin-bottom:22px}
.t7-convert .cv--contact .cx-route p{flex:1;margin:10px 0 22px;color:var(--t7-soft);font-size:15px;line-height:1.55}
.t7-convert .cv--contact .cx-route:first-child p{color:#D9DCFF}
.t7-convert .cv--contact .cx-route__go{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:16px;border-top:1px solid var(--t7-line)}
.t7-convert .cv--contact .cx-route:first-child .cx-route__go{border-color:rgba(217,220,255,.28)}
.t7-convert .cv--contact .cx-route:first-child :is(.cv-go,.cx-pick){color:#fff}
.t7-convert .cv--contact .cx-route:first-child .cv-go{text-decoration-color:var(--t7-lime)}
.t7-convert .cv--contact .cx-pick{color:var(--t7-soft);font-size:14.5px;text-decoration:underline;text-underline-offset:3px}
.t7-convert .cv--contact .cx-pick:hover{color:var(--t7-blue)}
.t7-convert .cv--contact .cx-route:first-child :is(a):focus-visible{outline-color:var(--t7-lime)}

/* ---------- channels: the drawing beside the four channels ---------- */
.t7-convert .cv--contact .cx-channels__in{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(36px,3.6vw,60px)}
.t7-convert .cv--contact .cx-channels__say{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:0 clamp(28px,5vw,96px);align-items:end}
.t7-convert .cv--contact .cx-channels__say>span{grid-column:1/-1}
.t7-convert .cv--contact .cx-hub{max-width:520px;margin-top:clamp(18px,2vw,34px)}
.t7-convert .cv--contact .cx-channels__say>span{display:block;margin-bottom:14px;color:var(--t7-blue);font:600 13px/1.3 var(--display);letter-spacing:.13em;text-transform:uppercase}
.t7-convert .cv--contact .cx-channels__say h2{font-size:clamp(32px,3.4vw,58px)}
.t7-convert .cv--contact .cx-channels__say p{max-width:46ch;margin:18px 0 0;color:var(--t7-soft);font-size:clamp(16px,1.15vw,19px);line-height:1.55}
.t7-convert .cv--contact .cx-ch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.t7-convert .cv--contact .cx-ch>div{display:flex;flex-direction:column;padding:var(--cx-pad);background:#fff;border:1px solid var(--t7-line);box-shadow:calc(8px*var(--side)) 8px 0 #E1E5FA}
.t7-convert .cv--contact .cx-ch>div:first-child{border:2px solid var(--t7-ink);box-shadow:calc(8px*var(--side)) 8px 0 var(--t7-blue)}
.t7-convert .cv--contact .cx-ch dt{padding:0 0 10px;margin-bottom:10px;border-bottom:1px solid var(--t7-line)}
.t7-convert .cv--contact .cx-ch dd{display:flex;flex:1;flex-direction:column;font-size:clamp(18px,1.4vw,23px)}
.t7-convert .cv--contact .cx-ch small{flex:1}
.t7-convert .cv--contact .cx-ch .cv-go{margin-top:14px}

/* ---------- what happens next, and the promise ---------- */
.t7-convert .cv--contact .cx-after__in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(36px,5vw,96px);align-items:start}
.t7-convert .cv--contact .cx-after__say h2{font-size:clamp(38px,4.4vw,76px)}
.t7-convert .cv--contact .cx-after__say .cv-how__p{max-width:50ch;margin:18px 0 0}
.t7-convert .cv--contact .cx-after__say .cv-kick{margin-top:clamp(30px,3vw,48px)}
.t7-convert .cv--contact .cv-list{display:grid;gap:0;margin:0;padding:0;list-style:none;border-top:2px solid var(--t7-ink)}
.t7-convert .cv--contact .cv-list li{padding-block:14px;padding-inline-start:32px;border-bottom:1px solid var(--t7-line)}
.t7-convert .cv--contact .cv-list li::before{top:calc(14px + .2em)}
.t7-convert .cv--contact .cv-more-link{display:inline-block;margin-top:20px;color:var(--t7-blue);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.t7-convert .cv--contact .cx-after__steps{padding:var(--cx-pad);background:var(--t7-ink);color:#fff;box-shadow:calc(12px*var(--side)) 12px 0 var(--t7-blue)}
.t7-convert .cv--contact .cx-after__steps>.cv-kick{color:var(--t7-lime)}
.t7-convert .cv--contact .cx-rail .cv-steps li{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr);gap:20px;align-items:start;padding-block:20px}
.t7-convert .cv--contact .cx-rail .cv-steps li+li{border-top:1px solid rgba(217,220,255,.22)}
.t7-convert .cv--contact .cx-rail .cv-steps li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:26px;top:84px;bottom:-12px;width:4px;background:#3D40FF}
.t7-convert .cv--contact .cx-rail .cv-step__t img{display:block;width:56px;height:56px}
.t7-convert .cv--contact .cx-rail b{color:#fff}
.t7-convert .cv--contact .cx-rail div span{color:#D9DCFF}

/* ---------- offices ---------- */
.t7-convert .cv--contact .cx-world{scroll-margin-top:80px}
.t7-convert .cv--contact .cx-visit{scroll-margin-top:80px}

/* ---------- tablet ---------- */
@media (max-width:1180px){
  .t7-convert .cv--contact .cx-routes__list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .t7-convert .cv--contact .cx-awards{grid-template-columns:minmax(0,1fr)}
  .t7-convert .cv--contact .cx-ch{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1000px){
  .t7-convert .cv--contact :is(.cx-hero__in,.cx-channels__in,.cx-after__in){grid-template-columns:minmax(0,1fr)}
  .t7-convert .cv--contact .cx-say{padding-top:0}
  .t7-convert .cv--contact .cx-hq{margin-top:28px}
  .t7-convert .cv--contact .cx-hub{display:none}
  .t7-convert .cv--contact .cx-channels__say{grid-template-columns:minmax(0,1fr)}
}

/* ---------- phone ---------- */
@media (max-width:640px){
  .t7-convert .cv--contact{--cx-pad:18px}
  .t7-convert .cv--contact .cx-card{margin-inline-end:8px;padding:20px 16px;box-shadow:calc(8px*var(--side)) 8px 0 var(--t7-blue)}
  .t7-convert .cv--contact :is(.cx-fields,.cx-ch,.cx-routes__list,.cx-awards ul){grid-template-columns:minmax(0,1fr)}
  .t7-convert .cv--contact .cx-hq ul{grid-template-columns:minmax(0,1fr)}
  .t7-convert .cv--contact .cx-hq li,.t7-convert .cv--contact .cx-hq li+li{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-inline-start:0;border-bottom:1px solid var(--t7-line)}
  .t7-convert .cv--contact .cx-hq span{margin:0}
  .t7-convert .cv--contact .cx-hq li:first-child::before{inset-inline:0}
  .t7-convert .cv--contact .cx-ch>div{display:flex}
  .t7-convert .cv--contact .cx-after__steps{margin-inline-end:8px;box-shadow:calc(8px*var(--side)) 8px 0 var(--t7-blue)}
  .t7-convert .cv--contact .cx-rail .cv-steps li{grid-template-columns:44px minmax(0,1fr);gap:14px}
  .t7-convert .cv--contact .cx-rail .cv-step__t img{width:44px;height:44px}
  .t7-convert .cv--contact .cx-rail .cv-steps li:not(:last-child)::after{inset-inline-start:20px;top:72px}
}

/* ---------- right to left: no letter-spacing or capitals in Arabic ---------- */
[dir=rtl] .t7-convert .cv--contact :is(.cx-card__h>span,.cx-channels__say>span,.cv-kick){letter-spacing:0;text-transform:none}
[dir=rtl] .t7-convert .cv--contact .cx-hq li{padding:18px 0 0 14px}
[dir=rtl] .t7-convert .cv--contact .cx-hq li+li{padding-inline-start:18px}
[dir=rtl] .t7-convert .cv--contact .cx-form :is(input[dir=ltr]){text-align:right}

/* the form posts to /api/lead: the hidden trap for bots, and the thank-you that replaces the form */
.cx-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cx-done{padding:28px 0 8px}
.cx-done b{display:block;color:var(--t7-ink);font:600 clamp(22px,1.8vw,28px)/1.2 var(--display);letter-spacing:-.02em}
.cx-done p{margin-top:10px;color:var(--t7-soft);font-size:16px}
.cx-send.is-busy{opacity:.7;pointer-events:none}
