/* Portkon slider: layered cutouts, compact software windows and topic navigation. */
.hero .hero-slide:has(.hero-record-visual){gap:30px;min-height:625px}
.hero .hero-slide:has(.hero-record-visual) .hero-copy{flex:1;min-width:0;width:auto;padding:42px 0}
.hero .hero-slide:has(.hero-record-visual) :is(h1,.slide-heading){font-size:clamp(38px,4.4vw,65px);line-height:1.1;letter-spacing:-2.4px}
.hero .hero-slide:has(.hero-record-visual) .hero-copy>p{font-size:14px;line-height:1.85;max-width:500px;color:#b8bac4}
.hero .hero-record-visual{position:relative;flex:0 0 52%;width:52%;min-width:0;padding:32px 0 26px;isolation:isolate}
.hero-visual-halo{display:none}
.hero-visual-window{overflow:visible;border:1px solid #ffffff22;border-radius:15px;background:#f3f4f7;box-shadow:0 28px 65px #0005;transform:perspective(1400px) rotateY(-3deg)}
.hero-visual-toolbar{display:flex;align-items:center;gap:14px;height:34px;padding:8px 13px;color:#b8bdce;background:#242733;border-radius:14px 14px 0 0}
.hero-visual-toolbar>span{display:flex;gap:5px;flex-shrink:0}.hero-visual-toolbar i{width:6px;height:6px;border-radius:50%;background:#61697b}.hero-visual-toolbar i:first-child{background:#e72e3b}
.hero-visual-toolbar strong{font-size:10px;line-height:1.4;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hero-visual-stage{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:0 0 14px 14px;transform:translate3d(var(--scene-x,0px),var(--scene-y,0px),0);transition:transform .65s cubic-bezier(.2,.8,.2,1)}
.hero .hero-record-visual .hero-visual-picture{display:block;width:100%;height:100%}
.hero .hero-record-visual img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;border-radius:0;object-fit:contain}
.hero .hero-record-visual .hero-visual-fit-cover img{object-fit:cover}
.hero-visual-extra{position:absolute;bottom:4%;width:30%;height:86%;filter:drop-shadow(0 18px 16px #0006)}.hero-visual-extra-1{left:0}.hero-visual-extra-2{right:0}
.hero :is(.hero-visual-theme-robotics,.hero-visual-theme-products) .hero-visual-window{border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}
.hero :is(.hero-visual-theme-robotics,.hero-visual-theme-products) .hero-visual-toolbar{display:none}
.hero :is(.hero-visual-theme-robotics,.hero-visual-theme-products) .hero-visual-stage{aspect-ratio:16/10;background:transparent;overflow:visible;border-radius:0}
.hero :is(.hero-visual-theme-robotics,.hero-visual-theme-products) .hero-visual-picture{position:absolute;left:27%;bottom:1%;width:46%;height:98%;filter:drop-shadow(0 25px 22px #0006)}
.hero .hero-visual-theme-robotics .hero-visual-extra{height:87%;bottom:1%;width:32%}
.hero .hero-visual-single .hero-visual-picture{left:0;bottom:0;width:100%;height:100%}
.hero-visual-badges{position:relative;display:flex;justify-content:flex-end;gap:8px;margin:-12px 10px 0 0;z-index:2}
.hero-visual-badges>span{display:flex;align-items:center;gap:7px;min-width:0;padding:10px 12px;border:1px solid #ffffff22;border-radius:12px;background:#1a1c27e8;box-shadow:0 10px 26px #0003;color:#f0f1f5;backdrop-filter:blur(12px)}
.hero-visual-badges svg{width:21px;height:21px;flex-shrink:0;color:#ff5e70}.hero-visual-badges small{font-size:9px;line-height:1.4;font-weight:600}.hero-visual-badges>span:nth-child(2) svg{color:#a2b1ff}.hero-visual-badges>span:nth-child(3) svg{color:#63d7bd}
.hero :is(.hero-visual-theme-robotics,.hero-visual-theme-products) .hero-visual-badges{margin:12px 0 0;justify-content:center}
@keyframes portkonHeroFloat{0%,100%{translate:0 0}50%{translate:0 -10px}}
@keyframes portkonHeroEnter{from{opacity:0;translate:24px 8px;scale:.96}to{opacity:1;translate:0 0;scale:1}}
@keyframes portkonBadgeEnter{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
.swiper-slide-active .hero-visual-window{animation:portkonHeroEnter .9s cubic-bezier(.2,.8,.2,1) both}
.swiper-slide-active :is(.hero-visual-theme-robotics,.hero-visual-theme-products) .hero-visual-picture{animation:portkonHeroFloat 6s ease-in-out infinite}
.swiper-slide-active .hero-visual-extra{animation:portkonHeroFloat 6.5s ease-in-out infinite}.swiper-slide-active .hero-visual-extra-1{animation-delay:-2s}.swiper-slide-active .hero-visual-extra-2{animation-delay:-4s}
.swiper-slide-active .hero-visual-badges>span{animation:portkonBadgeEnter .65s .2s ease both}
body[data-motion="0"] .hero-record-visual *{animation:none!important}
body[data-hero-visual-paused="1"] .hero-record-visual *{animation-play-state:paused!important}
.hero .hero-bottom{gap:28px;align-items:center;padding:5px 0 25px}.hero .hero-bottom .scroll-cue,.hero .hero-bottom .hero-location{display:none}
.hero .slider-controls{flex-shrink:0;gap:11px}.hero .hero-prev,.hero .hero-next{width:38px;height:38px;border-radius:50%;border-color:#ffffff30}.hero .hero-pause{width:32px;height:36px;color:#d1d3de}
.hero-topic-nav{display:flex;gap:14px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.hero-topic-nav::-webkit-scrollbar{display:none}
.hero-topic{position:relative;flex:1;min-width:70px;max-width:160px;text-align:left;padding:14px 0 12px;border:0;border-top:2px solid #ffffff20;background:transparent;color:#7f8497;font:600 10px/1.4 var(--font);cursor:pointer;white-space:nowrap}
.hero-topic:after{content:"";position:absolute;top:-2px;left:0;height:2px;width:0;background:#ef4053;transition:width .12s linear}.hero-topic[aria-pressed="true"]{color:#fff}.hero-topic[aria-pressed="true"]:after{width:var(--hero-progress,100%)}.hero-topic:focus-visible{outline:2px solid #ef4053;outline-offset:4px}.hero-topic:hover{color:#fff}
@media(max-width:991px) and (min-width:768px){.hero .hero-record-visual{flex-basis:49%;width:49%}.hero .hero-slide:has(.hero-record-visual){gap:20px;min-height:550px}.hero .hero-slide:has(.hero-record-visual) :is(h1,.slide-heading){font-size:43px;letter-spacing:-1.7px}.hero-visual-badges{gap:5px}.hero-visual-badges>span{padding:8px 6px;gap:4px}.hero-visual-badges svg{width:16px;height:16px}.hero-visual-badges small{font-size:8px}.hero .hero-bottom{gap:18px}.hero-topic-nav{gap:12px}}
@media(max-width:767px){.hero .hero-slide:has(.hero-record-visual){min-height:0;gap:0}.hero .hero-slide:has(.hero-record-visual) .hero-copy{flex:none;width:100%;padding:42px 0 12px}.hero .hero-slide:has(.hero-record-visual) :is(h1,.slide-heading){font-size:clamp(34px,8.2vw,52px);letter-spacing:-1.4px}.hero .hero-slide:has(.hero-record-visual) .hero-copy>p{font-size:12px;line-height:1.8}.hero .hero-record-visual{flex:none;width:100%;padding:15px 0 25px;max-width:580px;margin:0 auto}.hero-visual-toolbar{height:30px;padding:7px 10px}.hero-visual-toolbar strong{font-size:9px}.hero-visual-badges{justify-content:center;gap:5px;margin:-7px 4px 0}.hero-visual-badges>span{gap:5px;padding:8px 7px}.hero-visual-badges svg{width:17px;height:17px}.hero-visual-badges small{font-size:8px}.hero .hero-bottom{flex-wrap:wrap;gap:8px;padding:5px 0 23px}.hero-topic-nav{order:-1;flex-basis:100%;width:100%;gap:15px}.hero-topic{flex:0 0 auto;min-width:72px;padding:12px 0;font-size:9px}.hero .slider-controls{margin-top:5px}}
@media(prefers-reduced-motion:reduce){.hero-record-visual *{animation:none!important}.hero-visual-window,.hero-visual-stage{transform:none!important}.hero-topic:after{transition:none}}
body[data-hero-motion-off="1"] .hero-record-visual *{animation:none!important;transition:none!important}
.hero .hero-visual-theme-robotics .hero-visual-picture img{scale:1.12}.hero .hero-visual-theme-robotics .hero-visual-extra img{scale:1.18}
/* Robot catalog uses the existing transparent hero stage. */
.hero-robot-catalog{position:relative;width:100%;height:100%}
.hero-robot-group{position:absolute;inset:0 0 34px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:6px;opacity:0;visibility:hidden;pointer-events:none;translate:14px 0;transition:opacity .4s ease,translate .4s ease,visibility .4s}
.hero-robot-group[aria-hidden="false"]{opacity:1;visibility:visible;pointer-events:auto;translate:0 0}
.hero-robot-group.hero-robot-pair{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12%}
.hero-robot-model{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;height:91%;filter:drop-shadow(0 18px 18px #0005)}
.hero-robot-model:nth-child(2){height:100%}.hero .hero-robot-model img{flex:1;min-height:0;height:calc(100% - 32px);object-fit:contain;scale:1.04}.hero-robot-model>span{display:block;max-width:100%;padding:5px 8px;border:1px solid #ffffff20;background:#171a23aa;border-radius:7px;color:#d6d9e3;font-size:10px;line-height:1.3;text-align:center;overflow-wrap:anywhere}
.swiper-slide-active .hero-robot-group[aria-hidden="false"] .hero-robot-model img{animation:portkonHeroFloat 6s ease-in-out infinite}.hero-robot-model:nth-child(2) img{animation-delay:-2s!important}.hero-robot-model:nth-child(3) img{animation-delay:-4s!important}
.hero-robot-select{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;gap:14px;height:28px}.hero-robot-select>span{font-size:9px;color:#9ca2b4}.hero-robot-select>div{display:flex;gap:5px}.hero-robot-select button{display:grid;place-items:center;border:1px solid #ffffff25;border-radius:50%;background:transparent;color:#929aaf;width:26px;height:26px;padding:0;font:600 9px var(--font);cursor:pointer}.hero-robot-select button[aria-pressed="true"]{background:#e72e3b;border-color:#e72e3b;color:#fff}.hero-robot-model:focus-visible,.hero-robot-select button:focus-visible{outline:2px solid #ef4053;outline-offset:3px}
@media(max-width:767px){.hero-robot-model>span{font-size:8px;padding:4px 5px}.hero-robot-group{gap:3px;bottom:30px}.hero-robot-select{height:26px}.hero-robot-select>span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.hero-robot-group{transition:none;translate:none}}
/* Keep software screenshots inside their moving frame. */
.hero-visual-theme-software .hero-visual-window{overflow:hidden;transform:translate3d(var(--scene-x,0px),var(--scene-y,0px),0) perspective(1400px) rotateY(-3deg);transition:transform .65s cubic-bezier(.2,.8,.2,1)}
.hero-visual-theme-software .hero-visual-stage{transform:none;transition:none}
@media(max-width:767px){.hero .hero-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}.hero .hero-actions .button{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:50px;padding:8px 5px;font-size:9px;line-height:1.35;text-align:center;white-space:normal;overflow-wrap:normal}.hero .hero-actions .button svg{display:none}}
@media(max-width:767px){.hero .hero-actions:has(>a:last-child:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.hero .hero-actions{align-items:stretch}}
/* All seven hero topics fit one mobile row without horizontal scrolling. */
@media(max-width:767px){.hero .hero-topic-nav{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;overflow:visible;scroll-behavior:auto}.hero .hero-topic{min-width:0;max-width:none;width:100%;min-height:44px;padding:11px 0;font-size:clamp(7px,1.9vw,10px);line-height:1.25;letter-spacing:-.03em;text-align:center;white-space:nowrap}}
