/* Shared visual rules for actionable CTAs and content surfaces. */
:root{--jung-action:#0878aa;--jung-action-hover:#05618b;--jung-action-radius:10px;--jung-surface:#f1f6f8;--jung-surface-dark:#0d4054}

:is(.home-button,.home-section-cta,.home-dark-link,.home-text-link,.page-button,.page-link,.rs-button,.rs-link,.lp-button,.jf-submit,.jf-next,.jf-back,.jf-confirm-link,.jf-confirm-edit,.jung-contact,.jung-footer-opportunities a){
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:space-between;gap:14px;
  height:48px;min-height:48px;max-height:48px;padding:0 18px;border-radius:var(--jung-action-radius);
  font-family:"Plus Jakarta Sans",Arial,sans-serif;font-size:15px;font-weight:700;line-height:1;
  text-decoration:none!important;white-space:nowrap;box-shadow:none!important;
  transition:background-color .25s ease,border-color .25s ease,color .25s ease,transform .35s cubic-bezier(.16,1,.3,1)
}
:is(.home-button-primary,.page-button:not(.page-button-white),.rs-button,.lp-button,.jf-submit,.jf-next,.jf-confirm-link,.jung-contact){
  border:1px solid var(--jung-action);background:var(--jung-action);color:#fff!important;
}
:is(.home-button-primary,.page-button:not(.page-button-white),.rs-button,.lp-button,.jf-submit,.jf-next,.jf-confirm-link,.jung-contact):hover{
  border-color:var(--jung-action-hover);background:var(--jung-action-hover);color:#fff!important;transform:translateY(-2px)
}
:is(.home-section-cta,.page-link:not(.page-link-light),.rs-link,.jf-back,.jf-confirm-edit){
  border:1px solid var(--jung-action);background:transparent;color:var(--jung-action)!important
}
:is(.home-section-cta,.page-link:not(.page-link-light),.rs-link,.jf-back,.jf-confirm-edit):hover{
  border-color:var(--jung-action-hover);background:#e7f3f8;color:var(--jung-action-hover)!important;transform:translateY(-2px)
}
:is(.home-dark-link,.home-text-link,.page-link-light,.page-button-white,.rs-helicoid .rs-link,.rs-process .rs-link,.jung-footer-opportunities a){
  border:1px solid rgba(255,255,255,.7);background:transparent;color:#fff!important
}
:is(.home-dark-link,.home-text-link,.page-link-light,.page-button-white,.rs-helicoid .rs-link,.rs-process .rs-link,.jung-footer-opportunities a):hover{
  border-color:#fff;background:rgba(255,255,255,.1);color:#fff!important;transform:translateY(-2px)
}
.home-capabilities .home-dark-link{
  border:1px solid var(--jung-action);background:transparent;color:var(--jung-action)!important
}
.home-capabilities .home-dark-link:hover{background:#e7f3f8;color:var(--jung-action-hover)!important}
.jf-section--product :is(.jf-back,.jf-confirm-edit){
  border-color:rgba(255,255,255,.7);background:transparent;color:#fff!important
}
.jf-section--product :is(.jf-back,.jf-confirm-edit):hover{border-color:#fff;background:rgba(255,255,255,.1);color:#fff!important}
.jung-footer-opportunities a{width:100%;font-size:13px;font-weight:500}
.jung-contact{font-weight:600}
:is(.home-section-cta,.home-dark-link,.home-text-link,.page-link) svg{flex:none;width:17px;height:17px}
:is(.home-section-cta,.home-dark-link,.home-text-link,.page-link,.page-button,.rs-button,.rs-link,.lp-button,.jf-submit,.jf-next,.jf-confirm-link,.jung-contact):hover svg{transform:translateX(3px)}
.home-more-solutions a,.jung-mega-heading>a{
  display:inline-flex;align-items:center;justify-content:space-between;gap:14px;
  min-height:48px;padding:0 18px;border:1px solid var(--jung-action);border-radius:var(--jung-action-radius);
  background:transparent;color:var(--jung-action)!important;font:700 14px/1 "Plus Jakarta Sans",Arial,sans-serif;
  text-decoration:none!important;white-space:nowrap;box-shadow:none
}
.home-more-solutions a:hover,.jung-mega-heading>a:hover{background:#e7f3f8;color:var(--jung-action-hover)!important}

/* Content cards use a filled surface; borders are reserved for controls. */
:is(.home-capabilities-grid>div,.home-reasons article,.home-step,.page-feature,.lp-problem,.lp-benefit,.lp-cav-benefits-grid article,.lp-cav-type-grid article,.lp-cav-sector-grid article,.lp-factory-grid article,.lp-engineering-grid article,.lp-audience-box,.lp-process-visual,.lp-knowledge-grid>div,.lp-impact-list li,.lp-step,.rs-profile){
  border:0;box-shadow:none
}
:is(.home-capabilities-grid>div){background:var(--jung-surface)}
:is(.home-reasons article,.lp-problem){background:#fff}
:is(.home-step,.page-feature,.lp-benefit,.lp-step,.lp-process-visual){background:var(--jung-surface-dark)}
.lp-cav-sector-grid article,.lp-factory-grid article{background:var(--jung-surface-dark)}
.home-capabilities-grid>div:hover,.home-reasons article:hover{box-shadow:none}
.lp-audience-box,.lp-engineering-grid article,.lp-knowledge-grid>div{background:var(--jung-surface)}

@media(max-width:600px){
  :is(.home-actions,.page-actions,.rs-actions,.lp-actions){width:100%}
  :is(.home-button,.home-section-cta,.home-dark-link,.home-text-link,.page-button,.page-link,.rs-button,.rs-link,.lp-button,.jf-submit,.jf-next,.jf-back,.jf-confirm-link,.jf-confirm-edit){width:100%;max-width:100%;font-size:clamp(12px,3.5vw,14px)}
  .home-more-solutions a{width:100%}
  .home-section-cta,.home-dark-link,.home-text-link{margin-top:20px}
  .jf-step-actions,.jf-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .jf-step-actions>.jf-next:only-child{grid-column:1/-1}
  .jf-step-actions>* , .jf-actions>*{min-width:0}
  .jung-footer-opportunities a{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
  :is(.home-button,.home-section-cta,.home-dark-link,.home-text-link,.page-button,.page-link,.rs-button,.rs-link,.lp-button,.jf-submit,.jf-next,.jf-back,.jf-confirm-link,.jf-confirm-edit,.jung-contact,.jung-footer-opportunities a){transition:none}
}
