:root {
  --rh-purple: #5a189a;
  --rh-deep: #3c096c;
  --rh-ink: #545454;
  --rh-copy: #656565;
  --rh-surface: #f1f1f1;
}

.rh-page {
  background: var(--rh-surface);
  color: var(--rh-ink);
  font-family: 'Poppins', sans-serif;
}

.rh-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.rh-page h1,
.rh-page h2,
.rh-page h3,
.rh-page p { margin-top: 0; }

.rh-page h1,
.rh-page h2,
.rh-page h3 { color: var(--rh-ink); }

.rh-page p { color: var(--rh-copy); }

.rh-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 98px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .6)), url('../img/bpo-rh-hero-financial-results.jpg') center / cover no-repeat;
}

.rh-hero::after {
  position: absolute;
  right: -15%;
  bottom: -55px;
  left: -15%;
  height: 80px;
  background: var(--rh-surface);
  clip-path: polygon(0 68%, 50% 0, 100% 68%, 100% 100%, 0 100%);
  content: '';
}

.rh-hero-grid,
.rh-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

.rh-hero-copy { padding-left: 44px; }
.rh-hero-copy h1 { max-width: 460px; margin-bottom: 22px; font-size: 32px; font-weight: 500; line-height: 1.12; }
.rh-hero-copy p { margin-bottom: 38px; font-family: 'Work Sans', sans-serif; font-size: 20px; font-weight: 300; }
.rh-hero-portrait { width: min(100%, 410px); margin: 0 auto; }
.rh-hero-portrait img { width: 100%; border-radius: 50%; opacity: .9; }

.rh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 11px 26px;
  border: 1px solid var(--rh-deep);
  border-radius: 6px;
  background: rgba(60, 9, 108, .87);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, .5);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 300ms ease, background-color 300ms ease;
}

.rh-button:hover,
.rh-button:focus-visible { background: var(--rh-purple); color: #fff; transform: translateY(-4px); }

.rh-section { padding: 54px 0; }
.rh-why { background: #fff; }
.rh-why-grid { max-width: 1000px; gap: 62px; }
.rh-illustration { margin: 0; }
.rh-illustration img { width: 100%; border-radius: 12px; }
.rh-copy h2,
.rh-control h2,
.rh-profits > .rh-shell > h2 { margin-bottom: 16px; font-size: 29px; font-weight: 500; line-height: 1.1; }
.rh-copy p { font-family: 'Work Sans', sans-serif; font-size: 17px; font-weight: 300; line-height: 1.45; }
.rh-check-list,
.rh-feature-list { display: grid; gap: 13px; margin: 24px 0; padding: 0; list-style: none; }
.rh-check-list li,
.rh-feature-list li { color: #4e4e4e; font-family: 'Work Sans', sans-serif; font-size: 16px; }
.rh-check-list li::before { margin-right: 14px; color: var(--rh-purple); content: '\f00c'; font-family: 'FontAwesome'; }

.rh-differentials { position: relative; background: #f1f1f1 url('../img/bpo-rh-wall-texture.png') top center / 100% auto no-repeat; box-shadow: 0 50px 32px -45px rgba(0, 0, 0, .25); }
.rh-differentials h2 { margin-bottom: 42px; font-size: 29px; font-weight: 500; }
.rh-differentials h2 strong { color: var(--rh-purple); }
.rh-differential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.rh-differential-grid article { text-align: center; }
.rh-differential-grid i { display: block; margin-bottom: 17px; color: var(--rh-purple); font-size: 42px; transition: color 250ms ease, transform 250ms ease; }
.rh-differential-grid article:hover i { color: #00a6fb; transform: scale(1.12); }
.rh-differential-grid h3 { margin-bottom: 11px; color: var(--rh-purple); font-size: 18px; font-weight: 500; }
.rh-differential-grid p { font-family: 'Work Sans', sans-serif; font-size: 14px; line-height: 1.45; }

.rh-control { background: #f1f1f1; }
.rh-control .rh-shell { width: min(1370px, calc(100% - 48px)); }
.rh-section-intro { max-width: 900px; margin-bottom: 34px; font-family: 'Work Sans', sans-serif; font-size: 17px; font-weight: 300; }
.rh-control-grid { align-items: center; }
.rh-control-grid figure { margin: 0; }
.rh-control-grid figure img { width: 100%; }
.rh-feature-list li::before { margin-right: 16px; color: var(--rh-purple); content: '\f05d'; font-family: 'FontAwesome'; }
.rh-note { max-width: 1380px; margin: 14px auto 56px; text-align: center; font-family: 'Work Sans', sans-serif; font-size: 20px; font-weight: 300; line-height: 1.5; }
.rh-functional-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.rh-function-card { position: relative; height: 352px; overflow: hidden; border: 1px solid var(--rh-deep); border-radius: 8px; background: #333; }
.rh-function-card img { width: 100%; height: 100%; min-height: 0; object-fit: cover; opacity: .78; transition: transform 600ms ease; }
.rh-function-card::after { position: absolute; inset: 0; background: rgba(46, 31, 63, .34); content: ''; }
.rh-function-card:nth-child(1)::after { background: rgba(0, 142, 191, .34); }
.rh-function-card:nth-child(2)::after { background: rgba(71, 53, 87, .18); }
.rh-function-card:nth-child(3)::after { background: rgba(90, 85, 78, .34); }
.rh-function-card div { position: absolute; z-index: 1; inset: 0; display: grid; align-content: center; padding: 18px; color: #fff; text-align: center; }
.rh-function-card h3 { margin-bottom: 20px; color: #fff; font-size: 28px; font-weight: 500; }
.rh-function-card p { max-width: 350px; margin: 0 auto; color: #fff; font-family: 'Work Sans', sans-serif; font-size: 20px; font-weight: 400; line-height: 1.48; }
.rh-function-card:hover img { transform: scale(1.12); }
.rh-control .rh-center { margin: 62px 0 0; text-align: center; }
.rh-control .rh-button { min-width: 212px; min-height: 48px; padding: 0 24px; font-size: 16px; }

.rh-operations { background: #f1f1f1; }
.rh-operation-grid { display: grid; width: min(1400px, calc(100% - 48px)); grid-template-columns: .8fr 1.2fr; gap: 76px 76px; align-items: center; }
.rh-operation-grid figure { width: min(100%, 530px); margin: 0; }
.rh-operation-grid figure img { width: 100%; border-radius: 12px; }
.rh-report-copy { grid-column: 1; grid-row: 2; }
.rh-operation-grid figure:last-child { justify-self: end; }
.rh-operation-grid .rh-copy h2 { margin-bottom: 15px; font-size: 28px; }
.rh-operation-grid .rh-copy p { margin-bottom: 14px; font-size: 16px; }

.rh-profits { background: #f1f1f1; }
.rh-profits > .rh-shell > h2 { margin-bottom: 30px; text-align: center; }
.rh-profit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rh-profit-grid article { padding: 8px 16px 18px; border: 2px solid var(--rh-deep); border-radius: 5px; text-align: center; }
.rh-profit-grid img { width: 100%; height: 168px; object-fit: cover; border-radius: 3px; }
.rh-profit-grid h3 { margin: 13px 0 10px; font-size: 17px; font-weight: 500; line-height: 1.15; }
.rh-profit-grid p { margin: 0; font-family: 'Work Sans', sans-serif; font-size: 12px; line-height: 1.42; }

.rh-benefits { background: #f1f1f1; }
.rh-benefits-inner { max-width: 800px; }
.rh-benefits h2 { margin-bottom: 28px; text-align: center; font-size: 24px; font-weight: 400; }
.rh-benefits h2 span { position: relative; color: #00a6fb; }
.rh-benefits h2 span::after { position: absolute; right: -8px; bottom: -5px; left: -8px; height: 1.35em; border: 2px solid #00a6fb; border-radius: 50%; content: ''; }
.rh-accordion details { border-bottom: 1px solid rgba(90, 24, 154, .55); }
.rh-accordion summary { padding: 10px 8px; color: #545454; font-family: 'Work Sans', sans-serif; font-size: 16px; cursor: pointer; }
.rh-accordion summary::marker { color: var(--rh-purple); }
.rh-accordion p { margin: 0; padding: 0 24px 13px; font-family: 'Work Sans', sans-serif; font-size: 14px; line-height: 1.5; }

.rh-closing { background: #f1f1f1; }
.rh-closing-grid { max-width: 980px; gap: 48px; }
.rh-closing figure { margin: 0; }
.rh-closing figure img { width: 100%; border-radius: 10px; }
.rh-closing .rh-copy h2 { font-size: 28px; }
.rh-grow img { transition: transform 500ms ease; }
.rh-grow:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .rh-button,
  .rh-differential-grid i,
  .rh-function-card img,
  .rh-grow img { transition: none; }
  .rh-button:hover,
  .rh-button:focus-visible,
  .rh-differential-grid article:hover i,
  .rh-function-card:hover img,
  .rh-grow:hover img { transform: none; }
}

@media (max-width: 900px) {
  .rh-hero-grid,
  .rh-split { gap: 38px; }
  .rh-hero-copy { padding-left: 0; }
  .rh-hero-copy h1 { font-size: 28px; }
  .rh-differential-grid { gap: 20px; }
  .rh-operation-grid { width: min(1120px, calc(100% - 40px)); gap: 42px; }
}

@media (max-width: 767px) {
  .rh-shell { width: min(100% - 32px, 560px); }
  .rh-differentials { background: #f1f1f1; }
  .rh-hero { padding: 48px 0 72px; }
  .rh-hero-grid,
  .rh-split,
  .rh-operation-grid { grid-template-columns: 1fr; }
  .rh-hero-copy { text-align: center; }
  .rh-hero-copy h1 { margin-inline: auto; font-size: 28px; }
  .rh-hero-copy p { margin-bottom: 26px; font-size: 17px; }
  .rh-hero-portrait { width: min(82%, 340px); }
  .rh-section { padding: 42px 0; }
  .rh-why-grid { gap: 30px; }
  .rh-copy h2,
  .rh-control h2,
  .rh-profits > .rh-shell > h2 { font-size: 25px; }
  .rh-differentials h2 { text-align: center; font-size: 25px; }
  .rh-differential-grid,
  .rh-functional-grid,
  .rh-profit-grid { grid-template-columns: 1fr; }
  .rh-differential-grid { gap: 32px; }
  .rh-functional-grid { gap: 16px; }
  .rh-function-card { height: 310px; }
  .rh-function-card h3 { margin-bottom: 13px; font-size: 24px; }
  .rh-function-card p { font-size: 16px; }
  .rh-operation-grid { width: min(100% - 32px, 560px); gap: 26px; }
  .rh-operation-grid figure { width: min(100%, 430px); justify-self: center; }
  .rh-report-copy { grid-column: auto; grid-row: auto; }
  .rh-operation-grid figure:last-child { order: 4; }
  .rh-profit-grid article { padding: 12px; }
  .rh-profit-grid img { height: 190px; }
  .rh-benefits h2 { font-size: 21px; }
  .rh-closing-grid { gap: 28px; }
}
