/* Corporate hero — measured from nexo.com/about-us and nexo.com/security (1440 and 390) */
.co-h .hero-card{justify-content:space-between}
.co-in{flex:1;display:flex;align-items:center;width:100%;max-width:1360px;margin:0 auto;padding:32px 24px}
.co-g{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;width:100%}
.co-h h1{grid-column:1 / span 7;max-width:21ch;padding-right:24px;font-size:56px;line-height:1.1;font-weight:400;letter-spacing:normal;color:#fff}
.co-r{grid-column:8 / span 5}
.co-r p{max-width:36ch;font-size:24px;line-height:1.4;color:#e5ecf2}
.co-r .c-button{margin-top:40px}
.co-facts{display:flex;justify-content:center;gap:96px;padding:0 24px 48px;text-align:center}
.co-facts div{display:flex;flex-direction:column;font-size:16px;line-height:24px;color:#e5ecf2}
.co-facts strong{font-weight:700;color:#fff}
/* first section after the corporate hero sits at the section gap, like other subpages */
@media (min-width:641px){.co-h + .xp-first{margin-top:calc(var(--gap-section) - 8px)}}

@media (max-width:1023px){
  .co-g{grid-template-columns:minmax(0,1fr);row-gap:24px}
  .co-h h1,.co-r{grid-column:1}
  .co-h h1{font-size:48px}
  .co-r p{font-size:22px}
  .co-facts{gap:48px}
}
@media (max-width:640px){
  .co-in{align-items:flex-start;padding:32px 24px}
  .co-g{row-gap:16px}
  .co-h h1{max-width:none;padding-right:0;font-size:36px}
  .co-r p{font-size:20px;line-height:1.4}
  .co-r .c-button{margin-top:32px;height:56px;font-size:18px}
  .co-facts{flex-direction:column;gap:24px;margin:0 8px 8px;padding:24px 16px;border-radius:12px;background:rgba(255,255,255,.08);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
  .co-facts div{font-size:14px;line-height:21px}
}

/* Photo variant — nexo.com/partnerships: copy stacked top-left, photo filling the right side */
.co-hi .co-ph{position:absolute;inset:0 0 0 auto;z-index:-1;width:58%;overflow:hidden}
.co-hi .co-ph img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.co-hi .co-ph::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0a0d11 0%,rgba(10,13,17,.55) 28%,rgba(10,13,17,0) 60%),linear-gradient(0deg,rgba(10,13,17,.35),rgba(10,13,17,0) 40%)}
.co-hi .co-in{align-items:flex-start;padding-top:124px}
.co-l{grid-column:1 / span 7}
.co-l h1{max-width:21ch;padding-right:24px;font-size:56px;line-height:1.1;font-weight:400;color:#fff}
.co-l p{margin-top:24px;max-width:36ch;font-size:24px;line-height:1.4;color:#e5ecf2}
.co-l .c-button{margin-top:40px}
@media (max-width:1023px){
  .co-l{grid-column:1}
  .co-l h1{font-size:48px}
  .co-hi .co-ph{width:100%}
  .co-hi .co-ph::after{background:linear-gradient(180deg,rgba(10,13,17,.92) 0%,rgba(10,13,17,.7) 45%,rgba(10,13,17,.35) 100%)}
}
@media (max-width:640px){
  .co-hi .co-in{padding-top:32px}
  .co-l h1{max-width:none;padding-right:0;font-size:36px}
  .co-l p{margin-top:16px;font-size:20px}
  .co-l .c-button{margin-top:32px;height:56px;font-size:18px}
}
