/* RogenX — shared section rhythm and service-specific information. */
.rogenx-site{--rx-story-section-space:clamp(52px,4.4vw,72px)}
.rx-story-hero{min-height:100vh;min-height:100dvh;padding:calc(var(--rx-header-height,82px) + 32px) 0 32px}

/* The full-screen hero includes an overlaid header. A normal header uses space above it. */
.rogenx-site:not(.rx-front-header-overlay) .rx-story-hero:not(.rx-story-hero--contact){min-height:calc(100vh - var(--rx-header-height,82px));min-height:calc(100dvh - var(--rx-header-height,82px));padding-top:32px}
@media(min-width:1181px){
  .rx-header .rx-menu>.rx-menu-header-cta{display:none}
}
.rx-story-hero__copy{max-width:min(820px,65vw)}
.rx-story-hero h1{font-size:clamp(52px,5.2vw,84px);line-height:1.02;letter-spacing:-.045em}
.rx-story-hero--compact h1{font-size:clamp(46px,4.5vw,70px)}
.rx-story-hero__intro{max-width:650px;margin:22px 0 0;color:#d5e7f3;font-size:clamp(17px,1.25vw,20px);line-height:1.6;text-wrap:pretty}
.rx-story-points{margin-top:24px;padding-top:18px;gap:12px 24px}
.rx-story-points:empty{display:none}
.rx-story-actions{margin-top:26px}
.rx-story-band{padding:var(--rx-story-section-space) 0}
.rx-story-band__inner{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,4vw,64px)}
.rx-story-band__head{position:static}
.rx-story-band h2,.rx-story-steps h2,.rx-story-contact h2,.rx-story-systems h2,.rx-story-sectors h2{font-size:clamp(36px,3.6vw,56px);line-height:1.04;letter-spacing:-.04em}
.rx-story-intro{max-width:720px;margin:18px 0 0;color:#496477;font-size:17px;line-height:1.6;text-wrap:pretty}
.rx-story-band--dark .rx-story-intro,.rx-story-steps--dark .rx-story-intro{color:#c3d9e9}
.rx-story-band--mosaic .rx-story-band__inner{grid-template-columns:minmax(0,.52fr) minmax(0,1.48fr);gap:clamp(32px,4vw,64px)}
.rx-story-band--mosaic .rx-story-band__item{min-height:172px}
.rx-story-band--mosaic .rx-story-band__item:first-child{min-height:358px}
.rx-story-band--mosaic.rx-story-band--items-3 .rx-story-band__item,.rx-story-band--mosaic.rx-story-band--items-3 .rx-story-band__item:first-child{min-height:240px}
.rx-story-band--detailed .rx-story-band__item{align-items:start;min-height:0;padding:18px 4px;grid-template-columns:32px minmax(0,1fr) auto}
.rx-story-band--detailed .rx-story-band__item-copy{display:block}
.rx-story-band--detailed .rx-story-band__item-copy b{display:block;font-size:clamp(21px,1.8vw,26px);line-height:1.2}
.rx-story-band--detailed .rx-story-band__item-copy em{display:block;white-space:normal;margin-top:7px;font-size:16px;font-weight:500;line-height:1.55;text-shadow:none}
.rx-story-band--cards .rx-story-band__inner{display:block}
.rx-story-band--cards .rx-story-band__head{max-width:860px;margin-bottom:28px}
.rx-story-band--cards .rx-story-band__items{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;border:0}
.rx-story-band--cards.rx-story-band--items-3 .rx-story-band__items{grid-template-columns:repeat(3,minmax(0,1fr))}
.rx-story-band--cards .rx-story-band__item{display:flex;flex-direction:column;align-items:flex-start;gap:18px;min-height:0;padding:24px;border:1px solid rgba(26,94,141,.18);border-radius:18px;background:rgba(255,255,255,.8)}
.rx-story-band--cards .rx-story-band__item-copy{display:block}
.rx-story-band--cards .rx-story-band__item-copy b{display:block;font-size:24px;line-height:1.15}
.rx-story-band--cards .rx-story-band__item-copy em{display:block;white-space:normal;margin-top:10px;font-size:16px;font-weight:500;line-height:1.55}
.rx-story-band--dark.rx-story-band--cards .rx-story-band__item{background:rgba(8,31,51,.88);border-color:rgba(121,205,255,.22)}
.rx-story-band--dark.rx-story-band--cards .rx-story-band__item-copy em{color:#c3d9e9}
.rx-story-band--cards .rx-story-band__action{margin-top:24px}
.rx-story-sectors{padding:54px 0}
.rx-story-sectors__head{max-width:980px;margin-bottom:24px}
.rx-story-sector,.rx-story-sector:last-child{min-height:248px}
.rx-story-sector__copy{padding:44px 20px 18px!important}
.rx-story-sector h3{font-size:clamp(25px,1.9vw,29px)!important;margin-bottom:9px!important}
.rx-story-sectors__action{margin-top:18px}
.rx-story-systems{padding:56px 0}
.rogenx-site .rx-story-systems .rx-story-systems__intro{max-width:940px;margin:18px 0 28px;color:#c3d9e9;font-size:17px;line-height:1.6}
.rx-story-systems__head:has(+ .rx-story-systems__intro){margin-bottom:0}
.rogenx-site .rx-story-systems--light .rx-story-systems__intro{color:#496477}
.rx-story-system__copy{min-width:0}
.rogenx-site .rx-story-system .rx-story-system__relation{margin:7px 0 0;font-size:12px;line-height:1.4;color:#d5e7f3}
.rx-story-systems:has(.rx-story-system__relation) .rx-story-system{min-height:170px;height:auto}
.rx-story-steps{padding:52px 0}
.rx-story-steps__head{max-width:980px;margin-bottom:30px}
.rx-story-steps h2{max-width:980px;margin-bottom:0}
.rx-story-steps__head .rx-story-intro{max-width:940px;font-size:16px;margin-top:14px}
.rx-story-step{overflow-wrap:anywhere}
.rx-story-band--brand{padding:52px 0}
.rx-story-band--brand .rx-story-band__inner{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px}
.rx-story-contact:not(.rx-story-contact--full){min-height:330px;padding:56px 0}
.rx-story-contact__inner{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:40px}
.rogenx-site .rx-story-contact .rx-story-contact__copy>.rx-story-contact__intro{font-size:17px;margin-top:18px;margin-bottom:24px}
.rx-story-contact--full{min-height:0;padding:56px 0}
.rx-story-page section[id]{scroll-margin-top:calc(var(--rx-header-height,82px) + 22px)}

@media(max-width:1180px){
  .rx-story-hero__copy{max-width:74vw}
  .rx-story-hero h1{font-size:clamp(48px,5.5vw,66px)}
  .rx-story-hero--compact h1{font-size:clamp(44px,5vw,60px)}
  .rx-story-sectors__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rx-story-sector,.rx-story-sector:last-child{grid-column:auto;min-height:260px}
  .rx-story-sector__systems{font-size:15px!important}
  .rx-story-band--cards .rx-story-band__items,.rx-story-band--cards.rx-story-band--items-3 .rx-story-band__items{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  .rx-story-band__inner,.rx-story-band--brand .rx-story-band__inner{grid-template-columns:1fr;gap:26px}
  .rx-story-band__action{grid-column:auto}
  .rx-story-band--mosaic .rx-story-band__inner{display:block}
  .rx-story-band--mosaic .rx-story-band__head{max-width:760px;margin-bottom:26px}
  .rx-story-sectors__grid{grid-template-columns:1fr}
  .rx-story-sector,.rx-story-sector:last-child{min-height:210px}
  .rx-story-sector{background-position:center 38%}
}
@media(max-width:760px){
  .rogenx-site{--rx-story-section-space:42px}
  .rx-story-hero,.rx-story-hero--compact{padding:calc(var(--rx-header-height,70px) + 32px) 0 32px;align-items:center}
  .rx-story-hero__copy{max-width:none}
  .rx-story-hero h1,.rx-story-hero--compact h1{font-size:clamp(36px,9.4vw,52px);line-height:1.06;letter-spacing:-.04em}
  .rx-story-hero__intro{font-size:16px;line-height:1.55;margin-top:18px}
  .rx-story-band,.rx-story-band--brand,.rx-story-steps,.rx-story-systems,.rx-story-sectors,.rx-story-contact:not(.rx-story-contact--full),.rx-story-contact--full{padding:42px 0;min-height:0}
  .rx-story-band h2,.rx-story-steps h2,.rx-story-contact h2,.rx-story-systems h2,.rx-story-sectors h2{font-size:clamp(30px,7.5vw,40px);line-height:1.08}
  .rx-story-intro{font-size:16px;margin-top:14px}
  .rx-story-band__head{margin-bottom:24px}
  .rx-story-band--cards .rx-story-band__items,.rx-story-band--cards.rx-story-band--items-3 .rx-story-band__items{grid-template-columns:1fr;gap:12px}
  .rx-story-band--cards .rx-story-band__item{padding:20px;gap:12px}
  .rx-story-band--cards .rx-story-band__item-copy b{font-size:22px}
  .rx-story-band--mosaic .rx-story-band__item,.rx-story-band--mosaic .rx-story-band__item:first-child,.rx-story-band--mosaic.rx-story-band--items-3 .rx-story-band__item,.rx-story-band--mosaic.rx-story-band--items-3 .rx-story-band__item:first-child{min-height:166px;grid-row:auto}
  .rx-story-sectors__grid{grid-template-columns:1fr}
  .rx-story-sector,.rx-story-sector:last-child{min-height:210px}
  .rx-story-sector__copy{padding:42px 18px 18px!important}
  .rx-story-steps__head{margin-bottom:26px}
  .rx-story-steps__track,.rx-story-steps--4 .rx-story-steps__track{gap:24px 16px}
  .rx-story-step{padding:0 0 0 14px}
  .rx-story-contact__inner{display:block}
  .rogenx-site .rx-story-contact .rx-story-contact__copy>.rx-story-contact__intro{font-size:16px;margin-top:14px}
}
@media(prefers-reduced-motion:reduce){
  .rx-story-hero__intro{opacity:1;transform:none;animation:none}
}

/* RogenX — korekta opisów po układzie 1.3.10 */
.rogenx-site .rx-story-hero .rx-story-hero__intro {
  margin: 22px 0 0;
}
.rogenx-site .rx-story-band .rx-story-band__head > .rx-story-intro {
  margin: 18px 0 0;
}
.rx-story-band--dark.rx-story-band--statement.rx-story-band--detailed .rx-story-band__item-copy em {
  font-weight: 500;
  text-shadow: none;
  line-height: 1.55;
}
.rx-story-points:not(:has(span, a)) {
  display: none;
}
@media (max-width: 760px) {
  .rogenx-site .rx-story-hero .rx-story-hero__intro {
    margin-top: 18px;
  }
  .rogenx-site .rx-story-band .rx-story-band__head > .rx-story-intro {
    margin-top: 14px;
  }
}

/* RogenX — precyzja osi, typografii i kart */
.rogenx-site .rx-story-hero h1 {line-height:1.06;}
.rogenx-site :is(.rx-story-band,.rx-story-steps,.rx-story-contact,.rx-story-systems,.rx-story-sectors) h2 {line-height:1.12;}
.rogenx-site :is(.rx-story-hero__intro,.rx-story-intro,.rx-story-contact__intro) {line-height:1.6;}
.rogenx-site .rx-story-band__item-copy {min-width:0;}
.rogenx-site .rx-story-band--detailed .rx-story-band__item {padding:20px 4px;}
.rogenx-site .rx-story-band--detailed .rx-story-band__item-copy b {line-height:1.25;}
.rogenx-site .rx-story-band--detailed .rx-story-band__item-copy em {margin-top:8px;line-height:1.55;}
.rogenx-site .rx-story-band--cards .rx-story-band__item {gap:16px;}
.rogenx-site .rx-story-band--cards .rx-story-band__item-copy b {line-height:1.25;}
.rogenx-site .rx-story-band--mosaic .rx-story-band__item-copy b {line-height:1.2;}
.rogenx-site .rx-story-band--mosaic .rx-story-band__item-copy em {line-height:1.5;font-size:14px;}
.rogenx-site .rx-story-sector h3 {line-height:1.2!important;}
.rogenx-site .rx-story-sector__systems {line-height:1.5;}
.rogenx-site .rx-story-steps__head {margin-bottom:32px;}
.rogenx-site .rx-story-steps__track {padding-top:0;gap:0;}
.rogenx-site .rx-story-step {padding:0 12px;overflow-wrap:normal;}
.rogenx-site .rx-story-step>span {height:22px;line-height:22px;margin:0 0 16px;}
.rogenx-site .rx-story-step>i {width:12px;height:12px;margin:0 auto 20px;}
.rogenx-site .rx-story-step b {line-height:1.35;margin:0 0 6px;}
.rogenx-site .rx-story-step em {font-size:14px;line-height:1.5;margin:0;}
.rogenx-site .rx-story-steps__rail {top:43.5px;height:1px;}
.rogenx-site .rx-story-step,
.rogenx-site.rx-js [data-rx-sequence="steps"] .rx-story-step,
.rogenx-site.rx-js [data-rx-sequence="steps"].is-visible .rx-story-step,
.rogenx-site .rx-story-step:hover {transform:none;}
.rogenx-site .rx-story-contact__form-head h3 {line-height:1.25;}
.rogenx-site .rx-story-contact__form .rx-cf7-grid {display:block;}
.rogenx-site .rx-story-contact__form .rx-cf7-grid>p {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;}
.rogenx-site .rx-story-contact__form .rx-cf7-grid>p>br,
.rogenx-site .rx-story-contact__form form>p:not(.aiowps-captcha):has(label)>br {display:none;}
.rogenx-site .rx-story-contact__form form>p:not(.aiowps-captcha):has(label) {display:grid;gap:16px;margin-top:16px;}
.rogenx-site .rx-story-contact__form label {display:block;line-height:1.4;}
.rogenx-site .rx-story-contact__form .wpcf7-form-control-wrap {display:block;margin-top:6px;}
.rogenx-site .rx-story-contact__form input:not([type="submit"]),
.rogenx-site .rx-story-contact__form textarea {box-sizing:border-box;line-height:1.5;}
.rogenx-site .rx-story-contact__form textarea {height:144px;min-height:144px;resize:vertical;}
.rogenx-site .rx-story-contact__form .aiowps-captcha {margin-top:16px;line-height:1.5;}
.rogenx-site .rx-story-contact__form .rx-form-privacy {line-height:1.55;margin-top:14px;}
@media(min-width:981px) {
 .rogenx-site .rx-story-sector__systems {min-height:48px;align-content:flex-start;}
 .rogenx-site .rx-story-sector h3 {min-height:35px;}
 .rogenx-site .rx-story-contact--full .rx-story-contact__inner {align-items:start;}
 .rogenx-site .rx-story-contact--full .rx-story-contact__copy {padding-top:8px;}
}
@media(max-width:760px) {
 .rogenx-site .rx-story-hero h1 {line-height:1.1;}
 .rogenx-site :is(.rx-story-band,.rx-story-steps,.rx-story-contact,.rx-story-systems,.rx-story-sectors) h2 {line-height:1.15;}
 .rogenx-site .rx-story-steps__track {gap:28px 16px;}
 .rogenx-site .rx-story-step {padding:0 0 0 14px;}
 .rogenx-site .rx-story-step>span {height:22px;line-height:22px;margin:0 0 10px;}
 .rogenx-site .rx-story-step>i,.rogenx-site .rx-story-steps__rail {display:none;}
 .rogenx-site .rx-story-step b {font-size:15px;line-height:1.35;min-height:41px;margin-bottom:6px;}
 .rogenx-site .rx-story-step em {font-size:13px;line-height:1.5;}
 .rogenx-site .rx-story-contact__form .rx-cf7-grid>p {grid-template-columns:1fr;gap:16px;}
 .rogenx-site .rx-story-contact__form {padding:22px 20px;}
}

/* Stała geometria osi również podczas animacji wejścia. */
.rogenx-site [data-rx-sequence="steps"] .rx-story-step {transform:none;}
@media(min-width:981px) {
 .rogenx-site .rx-story-contact--full .rx-story-contact__copy {align-self:start;}
}

/* Wspólna wysokość podpisów kart i równy odstęp pod wysyłką. */
@media(min-width:981px) {
 .rogenx-site .rx-story-sector__systems {min-height:56px;}
}
.rogenx-site .rx-story-contact__form form>p:has(input[type="submit"]) {position:relative;margin:18px 0 0;line-height:1;}
.rogenx-site .rx-story-contact__form form>p:has(input[type="submit"])>br {display:none;}
.rogenx-site .rx-story-contact__form .wpcf7-spinner {position:absolute;right:14px;bottom:13px;margin:0;}
.rogenx-site .rx-story-contact__form .rx-form-privacy {font-size:12px;line-height:1.55;margin-top:16px;}


/* 1.3.11 — compact contact panel. These rules belong to the theme. */
.rogenx-site .rx-story-contact--full{padding:var(--rx-story-section-space) 0;min-height:0}
.rogenx-site .rx-story-contact--full .rx-story-contact__inner{gap:40px;align-items:start}
.rogenx-site .rx-story-contact--full .rx-story-contact__copy{align-self:start;padding-top:8px}
.rogenx-site .rx-story-contact--full .rx-story-contact__form{padding:20px;width:min(100%,560px);max-width:560px;min-width:0;border-radius:20px;margin-top:0}
.rogenx-site .rx-story-contact__form-head{margin-bottom:14px}
.rogenx-site .rx-story-contact__form-head h3{font-size:24px;line-height:1.25;margin:0}
.rogenx-site .rx-story-contact__form-head p{font-size:13px;line-height:1.45;margin:4px 0 0}
.rogenx-site .rx-story-contact__form .rx-contact-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rogenx-site .rx-story-contact__form .rx-contact-field{min-width:0}
.rogenx-site .rx-story-contact__form .rx-contact-field p,
.rogenx-site .rx-story-contact__form .rx-contact-message p,
.rogenx-site .rx-story-contact__form .rx-contact-submit p{margin:0;line-height:1}
.rogenx-site .rx-story-contact__form label{font-size:12px;line-height:1.4;font-weight:650}
.rogenx-site .rx-story-contact__form .wpcf7-form-control-wrap{margin-top:4px}
.rogenx-site .rx-story-contact__form input:not([type="submit"]){height:36px;min-height:36px;padding:7px 10px;border-radius:8px;font-size:14px}
.rogenx-site .rx-story-contact__form .rx-contact-message{margin-top:12px}
.rogenx-site .rx-story-contact__form textarea{height:88px;min-height:88px;padding:8px 10px;border-radius:8px;font-size:14px;line-height:1.5;resize:vertical}
.rogenx-site .rx-story-contact__form .aiowps-captcha{margin:12px 0 4px;font-size:12px;line-height:1.4}
.rogenx-site .rx-story-contact__form .aiowps-captcha label{font-weight:500}
.rogenx-site .rx-story-contact__form .aiowps-captcha-equation{margin:0 0 12px}
.rogenx-site .rx-story-contact__form .aiowps-captcha-equation p{margin:0;line-height:1.4}
.rogenx-site .rx-story-contact__form .aiowps-captcha-equation strong{display:flex;align-items:center;gap:12px;font-size:13px;line-height:1.4;font-weight:650;flex-wrap:wrap}
.rogenx-site .rx-story-contact__form input.aiowps-captcha-answer{width:76px;flex:0 0 76px}
.rogenx-site .rx-story-contact__form .rx-contact-submit{position:relative;margin-top:12px}
.rogenx-site .rx-story-contact__form .rx-contact-submit p>br{display:none}
.rogenx-site .rx-story-contact__form input[type="submit"]{height:40px;min-height:40px;padding:8px 14px;font-size:14px;line-height:1.4;margin:0}
.rogenx-site .rx-story-contact__form .wpcf7-spinner{position:absolute;right:12px;bottom:8px;margin:0}
.rogenx-site .rx-story-contact__form .rx-form-privacy{font-size:11px;line-height:1.5;margin:10px 0 0}
@media(max-width:980px){
 .rogenx-site .rx-story-contact--full .rx-story-contact__inner{display:block}
 .rogenx-site .rx-story-contact--full .rx-story-contact__form{margin-top:24px;max-width:620px}
}
@media(max-width:520px){
 .rogenx-site .rx-story-contact--full{padding:var(--rx-story-section-space) 0}
 .rogenx-site .rx-story-contact--full .rx-story-contact__form{padding:16px;border-radius:16px}
 .rogenx-site .rx-story-contact__form-head h3{font-size:21px}
 .rogenx-site .rx-story-contact__form .rx-contact-fields{grid-template-columns:1fr;gap:10px}
 .rogenx-site .rx-story-contact__form input:not([type="submit"]){height:40px;min-height:40px;font-size:16px}
 .rogenx-site .rx-story-contact__form textarea{font-size:16px}
 .rogenx-site .rx-story-contact__form input[type="submit"]{height:44px;min-height:44px}
 .rogenx-site .rx-story-contact__form .rx-form-privacy{font-size:12px}
}

/* Contact keeps a short hero with the same breathing room as body sections. */
.rogenx-site:has(.rx-story-contact--full) .rx-story-hero--compact{padding-top:calc(var(--rx-header-height,82px) + var(--rx-story-section-space));padding-bottom:var(--rx-story-section-space)}
.rogenx-site:has(.rx-story-contact--full) .rx-story-hero__copy{max-width:900px}
.rogenx-site:has(.rx-story-contact--full) .rx-story-hero .rx-eyebrow{margin-bottom:12px}
.rogenx-site:has(.rx-story-contact--full) .rx-story-hero h1{font-size:clamp(34px,3.2vw,48px);line-height:1.1}
.rogenx-site:has(.rx-story-contact--full) .rx-story-hero__intro{max-width:820px;margin-top:14px}
.rogenx-site:has(.rx-story-contact--full) .rx-story-hero .rx-story-actions{display:none}
@media(max-width:760px){
 .rogenx-site:has(.rx-story-contact--full) .rx-story-hero__copy{max-width:none}
 .rogenx-site:has(.rx-story-contact--full) .rx-story-hero h1{font-size:clamp(30px,8vw,38px)}
}
/* Long service actions wrap inside narrow screens instead of being clipped. */
@media(max-width:760px){.rx-story-band__action .rx-button,.rx-story-actions .rx-button{max-width:100%;white-space:normal;text-align:center}}

/* 1.3.31 — genuine viewport-height Hero on Contact and Remote Support.
   The header has its own layout height; do not subtract it from Hero height.
   min-height (rather than fixed height) lets long mobile content grow safely. */
.rogenx-site .rx-story-hero--contact,
.rogenx-site .rx-story-hero--support,
.rogenx-site .rx-story-hero--support.rx-story-hero--compact {
  min-height:100vh!important;
  min-height:100svh!important;
  min-height:100dvh!important;
  height:auto;
  display:flex;
  align-items:center;
}
@media(max-width:767px){
  .rogenx-site .rx-story-hero--contact,
  .rogenx-site .rx-story-hero--support,
  .rogenx-site .rx-story-hero--support.rx-story-hero--compact {
    min-height:100svh!important;
    min-height:100dvh!important;
    height:auto!important;
  }
}
.rx-footer__description-line{display:block}
.rx-footer__description-line+.rx-footer__description-line{margin-top:5px}

/* 1.3.30 — each footer description line is a separate, independent row. */
.rx-footer__description .rx-footer__description-line{display:block;overflow-wrap:break-word}
.rx-footer__description .rx-footer__description-line + .rx-footer__description-line{margin-top:5px}
