*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  background: #FBFAF8;
  color: #323639;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.rx-section-num--on-dark {
  color: #6FA8D4;
}

::selection { background: #D26317; color: #fff; }

@keyframes v3-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* LCP-safe motion: never hide the hero title (opacity 0 delays LCP). */
@keyframes v3-up-lcp {
  from { transform: translateY(16px); }
  to { transform: none; }
}

@keyframes v3-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes v3-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes v3-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes v3-marq {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}

@keyframes cs-row-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.rx-page {
  background: #FFFFFF;
  color: #323639;
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
}

.rx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.rx-ph {
  display: block;
  position: relative;
  overflow: hidden;
  background: #E7E3DC;
  cursor: pointer;
  border: none;
  padding: 0;
  font: inherit;
  text-align: inherit;
  width: 100%;
}

.rx-ph:focus-visible {
  outline: 2px solid #357FC2;
  outline-offset: 2px;
}

.rx-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.rx-ph::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  color: #9AA3AC;
  font: 500 13px/1.45 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  pointer-events: none;
  transition: background .2s, color .2s;
}

.rx-ph::before {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(2, 48, 79, 0.88);
  color: #fff;
  font: 600 11px/1 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 1;
  white-space: nowrap;
}

.rx-ph:hover::before,
.rx-ph:focus-visible::before {
  opacity: 1;
}

.rx-ph:hover::after,
.rx-ph:focus-visible::after {
  background: rgba(255, 255, 255, 0.35);
}

.rx-ph.has-image::after {
  content: 'Change image';
  opacity: 0;
  color: #fff;
  background: rgba(2, 48, 79, 0.55);
}

.rx-ph.has-image:hover::after,
.rx-ph.has-image:focus-visible::after {
  opacity: 1;
}

.rx-ph.has-image::before { opacity: 0; }

.rx-ph--light { background: #F2F3F4; }
.rx-ph--blue { background: #E2EBF3; }

.rx-btn-dark {
  text-decoration: none;
  background: #02304F;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: 999px;
  transition: background .18s, transform .18s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
}

.rx-btn-dark:hover {
  background: #0D1D2D;
  transform: translateY(-2px);
}

.rx-btn-outline {
  text-decoration: none;
  color: #02304F;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid rgba(13, 29, 45, 0.12);
  transition: border-color .18s;
}

.rx-btn-outline:hover { border-color: #D26317; }

.rx-btn-orange {
  text-decoration: none;
  text-align: center;
  display: inline-block;
  background: #D26317;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 17px 28px;
  border-radius: 999px;
  transition: background .18s, transform .18s;
  border: none;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
}

.rx-btn-orange:hover {
  background: #ef7a22;
  transform: translateY(-2px);
}

.rx-btn-ghost {
  text-decoration: none;
  text-align: center;
  display: inline-block;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 17px 28px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background .18s;
}

.rx-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.rx-marquee-wrap {
  position: relative;
  border-top: 1px solid rgba(13, 29, 45, 0.1);
  background: #fff;
  overflow: hidden;
}

.rx-marquee-fade-l,
.rx-marquee-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.rx-marquee-fade-l {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.rx-marquee-fade-r {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.rx-marquee-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
  animation: v3-marq 48s linear infinite;
}

.rx-marquee-group { display: flex; align-items: center; flex-shrink: 0; }

.rx-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 15px 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5A6570;
  white-space: nowrap;
}

.rx-marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #D4D8DC;
}

.rx-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  background: transparent;
  border: none;
  color: #0D1D2D;
  font-size: 15px;
  font-family: 'IBM Plex Sans', sans-serif;
  padding: 17px;
  outline: none;
}

.rx-newsletter-form input::placeholder { color: #9AA3AC; }

/* Shared section layout (used by home + other revamp pages) */
.rx-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 40px;
  box-sizing: border-box;
}

.rx-section--results {
  padding: 90px 40px;
  border-bottom: 1px solid rgba(13, 29, 45, 0.1);
}

.rx-section--bordered {
  border-bottom: 1px solid rgba(13, 29, 45, 0.1);
}

.rx-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 56px;
}

.rx-section-head--sm { margin-bottom: 56px; }
.rx-section-head--xs { margin-bottom: 48px; }

.rx-section-num {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: #357FC2;
}

.rx-section-head-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.rx-section-title {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
  color: #0D1D2D;
  text-wrap: balance;
}

.rx-section-title--md { max-width: 660px; }
.rx-section-title--sm { max-width: 560px; }

.rx-section-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #5A6570;
  margin: 0;
}

.rx-section-desc--services { max-width: 280px; }
.rx-section-desc--training { max-width: 300px; }
.rx-section-desc--growth { max-width: 300px; }

.rx-section-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9AA6B0;
  font-weight: 600;
  align-self: center;
}

@media (max-width: 1100px) {
  .rx-section,
  .rx-section--results {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .rx-section,
  .rx-section--results {
    padding: 72px 24px;
  }

  .rx-section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
  }

  .rx-section-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .rx-section-title { font-size: 32px; }
}

@media (max-width: 600px) {
  .rx-section,
  .rx-section--results {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .rx-section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
  }

  .rx-section-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .rx-section-title {
    font-size: 30px;
  }
}

/* Case studies */
.cs-row { transition: background .25s ease; }
.cs-row:hover .cs-num { color: #D26317 !important; }
.cs-row:hover .cs-img-overlay { opacity: 1 !important; }

.cs-btn { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .12s ease; }
.cs-btn:hover {
  background: #0D1D2D !important;
  color: #fff !important;
  border-color: #0D1D2D !important;
  transform: translateY(-1px);
}
.cs-btn:active { transform: translateY(0); }

input:focus { border-color: rgba(13, 29, 45, 0.4) !important; outline: none; }


.rx-process-step__num {
  transition: color 0.25s ease;
}

.rx-process-step:hover .rx-process-step__num,
.rx-process-step__num:hover {
  color: #D26317;
}

/* Industries We Serve (home + about) */
.rx-industries {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #EBF2F9 0%, #F7FAFC 100%);
  color: #4A5560;
  isolation: isolate;
  border-top: 1px solid rgba(13, 29, 45, 0.08);
  border-bottom: 1px solid rgba(13, 29, 45, 0.08);
}

.rx-industries__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.rx-industries__glow--a {
  left: -8%;
  top: -40%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(53, 127, 194, 0.14), rgba(53, 127, 194, 0) 68%);
}

.rx-industries__glow--b {
  right: -6%;
  bottom: -45%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(210, 99, 23, 0.1), rgba(210, 99, 23, 0) 70%);
}

.rx-industries__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 40px;
}

.rx-industries__head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 56px;
}

.rx-industries__num {
  font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 18px;
  color: #357FC2;
  padding-top: 8px;
}

.rx-industries__title {
  font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: #0D1D2D;
  max-width: 720px;
  text-wrap: balance;
}

.rx-industries__desc {
  font-size: 17px;
  line-height: 1.7;
  color: #4A5560;
  margin: 0;
  max-width: 560px;
}

.rx-industries__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(13, 29, 45, 0.1);
}

.rx-industries__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  position: relative;
  padding: 26px 28px 26px 4px;
  border-bottom: 1px solid rgba(13, 29, 45, 0.1);
  transition: background 0.25s ease, transform 0.25s ease;
}

.rx-industries__item:nth-child(odd) {
  padding-right: 36px;
  border-right: 1px solid rgba(13, 29, 45, 0.08);
}

.rx-industries__item:nth-child(even) {
  padding-left: 36px;
}

.rx-industries__item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: none;
  padding-right: 4px;
  max-width: 50%;
}

.rx-industries__item:hover {
  background: rgba(13, 29, 45, 0.03);
}

.rx-industries__item-num {
  font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 14px;
  color: #8C99A4;
  transition: color 0.25s ease;
}

.rx-industries__item:hover .rx-industries__item-num {
  color: #D26317;
}

.rx-industries__item-label {
  font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  color: #0D1D2D;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.rx-industries__item:hover .rx-industries__item-label {
  color: #02304F;
}

.rx-industries__item-rule {
  position: absolute;
  left: 64px;
  right: 28px;
  bottom: 0;
  height: 2px;
  background: #D26317;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}

.rx-industries__item:nth-child(even) .rx-industries__item-rule {
  left: 96px;
}

.rx-industries__item:hover .rx-industries__item-rule {
  transform: scaleX(1);
}

.rx-industries__quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  margin: 56px 0 0;
  padding: 36px 0 0;
  border-top: 1px solid rgba(13, 29, 45, 0.1);
  max-width: 820px;
}

.rx-industries__quote-mark {
  font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  font-size: 64px;
  line-height: 0.7;
  color: #D26317;
  font-weight: 400;
}

.rx-industries__quote-text {
  margin: 0;
  font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #0D1D2D;
  text-wrap: pretty;
}

body.rx-design.rx-revamp .rx-industries__title,
body.rx-design.rx-revamp .rx-industries__num,
body.rx-design.rx-revamp .rx-industries__item-num,
body.rx-design.rx-revamp .rx-industries__item-label,
body.rx-design.rx-revamp .rx-industries__quote-mark,
body.rx-design.rx-revamp .rx-industries__quote-text {
  font-family: 'IBM Plex Serif', Georgia, 'Times New Roman', serif !important;
}

@media (max-width: 900px) {
  .rx-industries__inner {
    padding: 80px 24px;
  }

  .rx-industries__head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
  }

  .rx-industries__num {
    padding-top: 0;
  }

  .rx-industries__grid {
    grid-template-columns: 1fr;
  }

  .rx-industries__item,
  .rx-industries__item:nth-child(odd),
  .rx-industries__item:nth-child(even),
  .rx-industries__item:last-child:nth-child(odd) {
    padding: 22px 4px;
    border-right: none;
    max-width: none;
    grid-column: auto;
  }

  .rx-industries__item-rule,
  .rx-industries__item:nth-child(even) .rx-industries__item-rule {
    left: 60px;
    right: 4px;
  }

  .rx-industries__quote {
    margin-top: 40px;
    padding-top: 28px;
    gap: 14px;
  }

  .rx-industries__quote-mark {
    font-size: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rx-industries__item,
  .rx-industries__item-num,
  .rx-industries__item-label,
  .rx-industries__item-rule {
    transition: none;
  }
}