/* employee referral page (/referral) — builds on apply.css for the form card */
.ref-intro { padding: 70px 0 40px; }
.ref-eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 16px; border-radius: 999px; background: #fff3ee; color: #c63e0d; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ref-h2 { margin: 0 0 14px; font-size: 38px; line-height: 1.2; font-weight: 800; color: #0e3052; }
.ref-h3 { margin: 0 0 18px; font-size: 24px; line-height: 1.3; font-weight: 800; color: #0e3052; }
.ref-lead { max-width: 540px; margin: 0 0 24px; font-size: 17px; line-height: 1.7; color: #4b5563; }
.ref-sub { margin: -4px 0 28px; color: #4b5563; }
.ref-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.ref-link { color: #0e3052; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ref-link:hover { color: #c63e0d; }
.ref-hero { max-width: 100%; height: auto; }

.ref-steps { padding: 50px 0 30px; }
.ref-step { position: relative; height: 100%; padding: 30px 24px 26px; border: 1px solid #ece8e4; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(14, 48, 82, .06); text-align: center; transition: transform .2s, box-shadow .2s; }
.ref-step:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14, 48, 82, .1); }
.ref-step_n { position: absolute; top: 14px; left: 18px; font-size: 13px; font-weight: 800; color: #c63e0d; opacity: .7; }
.ref-step > i { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin-bottom: 14px; border-radius: 50%; background: #fff3ee; color: #c63e0d; font-size: 24px; }
.ref-step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: #0e3052; }
.ref-step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #4b5563; }

.ref-rewards { padding: 40px 0 30px; }
.ref-reward { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 20px; border-radius: 22px; background: #0e3052; color: #fff; text-align: center; box-shadow: 0 12px 30px rgba(14, 48, 82, .2); }
.ref-reward_hot { background: linear-gradient(135deg, #c63e0d, #e8591f); }
.ref-reward_level { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ref-reward strong { font-size: 46px; line-height: 1.1; font-weight: 800; }
.ref-reward_exp { font-size: 15px; opacity: .9; }
.ref-note { margin: 22px 0 0; color: #4b5563; font-weight: 600; }

.ref-main { padding: 50px 0 90px; }
.ref-terms { position: sticky; top: 100px; padding: 32px 28px; border-radius: 22px; background: #f6f8fb; }
.ref-terms ul { margin: 0; padding: 0; list-style: none; }
.ref-terms li { display: flex; gap: 12px; padding: 10px 0; font-size: 15px; line-height: 1.6; color: #374151; }
.ref-terms li + li { border-top: 1px dashed #d8dee6; }
.ref-terms li i { flex: none; margin-top: 4px; color: #16a34a; }
.ref-card { max-width: none; margin: 0; }
.ref-card h2 { text-align: left; }
.ref-card .apply-card_sub { margin-left: 0; text-align: left; }
.ref-form_title { display: flex; align-items: center; gap: 10px; margin: 6px 0 18px; font-size: 18px; font-weight: 800; color: #0e3052; }
.ref-form_title span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #c63e0d; color: #fff; font-size: 14px; }
.ref-form .row + .ref-form_title { margin-top: 34px; }
.ref-again { margin-top: 22px; }
#refer-form, #terms { scroll-margin-top: 90px; }

@media (max-width: 991px) {
  .ref-terms { position: static; }
  .ref-h2 { font-size: 30px; }
}
@media (max-width: 575px) {
  .ref-intro { padding: 44px 0 20px; }
  .ref-main { padding: 30px 0 60px; }
  .ref-reward strong { font-size: 38px; }
}
