/* IT Talent Solutions page (sx-*). Loaded after rootz-pages.css. */
:root { --sx-ease: cubic-bezier(.22, 1, .36, 1); --sx-skew: -12deg; }
.sx-h1 { margin: 0 0 18px; font-size: clamp(38px, 5.2vw, 80px); font-weight: 700; line-height: 1.03; letter-spacing: -.035em; color: var(--rz-ink); }
.sx-h2 { margin: 0 0 14px; font-size: clamp(28px, 3.2vw, 50px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; color: var(--rz-ink); }
.sx-h1 em, .sx-h2 em { font-style: normal; color: var(--rz-red); }
.sx-lead { margin: 0 0 26px; max-width: 520px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--rz-muted); }

/* hero */
.sx-hero { background: linear-gradient(180deg, #fff, #fdf6f6); overflow: hidden; padding-bottom: clamp(24px, 3vw, 48px) !important; }
.sx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.sx-hero-v { position: relative; aspect-ratio: 1.4 / 1; }
.sx-sk { position: absolute; margin: 0; overflow: hidden; transform: skewX(var(--sx-skew)); background: linear-gradient(135deg, #f7d9d9, #e9ecf5); box-shadow: 0 30px 60px -30px rgba(22,22,22,.5); }
.sx-sk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: skewX(12deg) scale(1.3); }
.sx-sk.one { left: 20%; top: 18%; width: 40%; height: 62%; border-radius: 26px; z-index: 2; border: 5px solid #fff; }
.sx-sk.two { right: 0; top: 10%; width: 38%; height: 72%; border-radius: 26px 60px 26px 26px; z-index: 3; border: 5px solid #fff; }
.sx-slash { position: absolute; border-radius: 22px; transform: skewX(var(--sx-skew)); }
.sx-slash.a { left: 14%; top: 0; width: 34%; height: 90%; background: linear-gradient(180deg, rgba(225,0,0,.1), rgba(225,0,0,.03)); z-index: 0; }
.sx-slash.b { left: 8%; bottom: 8%; width: 15%; height: 34%; background: linear-gradient(180deg, #ff3b3b, var(--rz-red)); z-index: 1; }
.sx-slash.c { left: 52%; top: -4%; width: 14%; height: 24%; background: linear-gradient(180deg, #ff5a5a, var(--rz-red)); z-index: 1; opacity: .9; }
.sx-feat { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(22px, 2.6vw, 40px) 0 0; padding: clamp(16px, 1.8vw, 26px) clamp(16px, 2vw, 32px); list-style: none; border-radius: 26px; background: #fff; border: 1px solid rgba(22,22,22,.06); box-shadow: 0 22px 50px -32px rgba(22,22,22,.35); }
.sx-feat li { display: flex; align-items: center; gap: 16px; padding: 0 clamp(10px, 1.6vw, 24px); border-left: 1px solid rgba(22,22,22,.1); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--rz-ink); }
.sx-feat li:first-child { border-left: 0; padding-left: 0; }
.sx-feat .pg-ic { width: 50px; height: 50px; flex: none; background: transparent; }
.sx-feat .pg-ic svg { width: 40px; height: 40px; }
.sx-feat b { display: block; font-size: 22px; line-height: 1.1; }
.sx-feat small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--rz-muted); }

/* explorer */
.sx-exhead { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(22px, 2.6vw, 38px); }
.sx-exhead p { margin: 0; max-width: 340px; padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid rgba(22,22,22,.16); font-size: 14.5px; line-height: 1.55; color: var(--rz-muted); }
.sx-ex { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2vw, 32px); align-items: stretch; }
.sx-nav { display: flex; flex-direction: column; }
.sx-nav button { position: relative; display: grid; grid-template-columns: 44px 1fr 34px; align-items: center; gap: 8px; padding: clamp(11px, 1.1vw, 15px) 12px; border: 0; border-bottom: 1px solid rgba(22,22,22,.1); border-radius: 12px 12px 0 0; background: none; text-align: left; font: inherit; color: var(--rz-ink); cursor: pointer; transition: background .35s, padding .45s var(--sx-ease); }
.sx-n { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: rgba(22,22,22,.45); transition: color .3s; }
.sx-t { font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; letter-spacing: -.005em; line-height: 1.25; }
.sx-ar { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; opacity: 0; transform: translateX(-8px); transition: all .4s var(--sx-ease); background: var(--rz-red); }
.sx-ar svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sx-nav button.on { background: #fdeaea; border-radius: 12px; border-bottom-color: transparent; }
.sx-nav button.on .sx-n { color: var(--rz-red); }
.sx-nav button.on .sx-ar { opacity: 1; transform: none; }
.sx-nav button:focus-visible { outline: 2px solid var(--rz-red); outline-offset: -2px; }

.sx-panel { position: relative; min-height: 400px; border-radius: 30px; background: linear-gradient(135deg, #fff 55%, #fdeeee); border: 1px solid rgba(22,22,22,.07); overflow: hidden; box-shadow: 0 36px 70px -44px rgba(22,22,22,.4); }
.sx-pane { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--sx-ease); }
.sx-pane.on { opacity: 1; transform: none; }
.sx-pane[hidden] { display: none; }
.sx-pbody { position: relative; z-index: 2; padding: clamp(24px, 2.8vw, 44px); }
.sx-pic { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 16px; background: var(--rz-red); }
.sx-pic svg { width: 54%; height: 54%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sx-pt { margin: 0 0 10px; font-size: clamp(26px, 2.8vw, 42px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; color: var(--rz-ink); }
.sx-pd { margin: 0 0 18px; max-width: 440px; font-size: clamp(14.5px, 1.1vw, 16.5px); line-height: 1.6; color: var(--rz-muted); }
.sx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.sx-tags li { padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(22,22,22,.18); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--rz-ink); }
.sx-pimg { position: relative; align-self: stretch; margin: 0; }
.sx-pimg img { position: absolute; right: -6%; top: 6%; bottom: 6%; width: 92%; height: 88%; object-fit: cover; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); border-radius: 22px; background: linear-gradient(135deg, #f7d9d9, #e9ecf5); }
.sx-pimg i { position: absolute; left: 14%; top: -2%; width: 14%; height: 24%; background: linear-gradient(180deg, #ff3b3b, var(--rz-red)); border-radius: 14px; transform: skewX(var(--sx-skew)); z-index: 2; }

/* approach */
.sx-waysec { position: relative; background: linear-gradient(180deg, #fff, #fdf3f3 40%, #fff); }
.sx-wayhead { margin-bottom: clamp(22px, 2.6vw, 38px); }
.sx-way { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 26px); }
.sx-way article { position: relative; padding: clamp(22px, 2.4vw, 34px); border-radius: 22px; background: #fff; border: 1px solid rgba(22,22,22,.07); box-shadow: 0 16px 40px -28px rgba(22,22,22,.3); transition: transform .5s var(--sx-ease), box-shadow .5s; }
.sx-way article:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(225,0,0,.35); }
.sx-wn { position: absolute; right: 22px; top: 14px; font-size: 52px; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px rgba(22,22,22,.2); }
.sx-way .pg-ic { width: 52px; height: 52px; margin-bottom: 18px; }
.sx-way h3 { margin: 0 0 8px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; letter-spacing: -.01em; color: var(--rz-ink); }
.sx-way p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--rz-muted); }

/* cta */
.sx-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 48px); padding: clamp(22px, 2.6vw, 38px) clamp(24px, 3.4vw, 56px); border-radius: 26px; background: linear-gradient(100deg, #b30000, var(--rz-red) 50%, #f03030); color: #fff; }
.sx-cta h2 { margin: 0; font-size: clamp(24px, 2.6vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: #fff !important; }
.sx-cta p { margin: 0; padding-left: clamp(18px, 3vw, 48px); border-left: 1px solid rgba(255,255,255,.4); max-width: 420px; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.55; color: rgba(255,255,255,.94) !important; }
.sx-cta .rz-btn { background: #fff; color: var(--rz-red); border-color: #fff; }

@media (max-width: 991px) {
    .sx-hero-grid, .sx-ex { grid-template-columns: 1fr; }
    .sx-hero-v { max-width: 560px; }
    .sx-feat { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .sx-feat li:nth-child(3) { border-left: 0; padding-left: 0; }
    .sx-exhead { flex-direction: column; align-items: flex-start; }
    .sx-exhead p { padding-left: 0; border-left: 0; }
    .sx-nav { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
    .sx-nav::-webkit-scrollbar { display: none; }
    .sx-nav button, .sx-nav button.on { flex: 0 0 auto; display: inline-flex; padding: 10px 18px; border: 1px solid rgba(22,22,22,.18); border-radius: 999px; }
    .sx-n, .sx-ar { display: none; }
    .sx-nav button.on { background: var(--rz-red); border-color: var(--rz-red); color: #fff; }
    .sx-t { font-size: 15px; white-space: nowrap; }
    .sx-panel { min-height: 520px; }
    .sx-pane { grid-template-columns: 1fr; align-content: start; }
    .sx-pimg { display: none; }
    .sx-way { grid-template-columns: 1fr; }
    .sx-cta { grid-template-columns: 1fr; }
    .sx-cta p { padding-left: 0; border-left: 0; }
}
@media (max-width: 575px) { .sx-feat { grid-template-columns: 1fr; } .sx-feat li { border-left: 0; padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .sx-pane, .sx-nav button, .sx-way article { transition-duration: .01ms !important; } }

/* responsive fix: let the active pane size the panel on tablet and mobile */
@media (max-width: 991px) {
    .sx-panel { min-height: 0; }
    .sx-pane { position: relative; inset: auto; }
}
