body .site-main.spcfz-referral-page,
body.page-template-page-referral .site-main.spcfz-referral-page {
  --spcfz-ref-blue: #0057ff;
  --spcfz-ref-blue-2: #124dff;
  --spcfz-ref-purple: #7430ff;
  --spcfz-ref-navy: #071844;
  --spcfz-ref-text: #111827;
  --spcfz-ref-muted: #5f6575;
  --spcfz-ref-border: #e4e9f5;
  --spcfz-ref-soft: #f8fbff;
  --spcfz-ref-radius: 24px;
  --spcfz-ref-shadow-sm: 0 10px 25px rgba(7, 24, 68, 0.07);
  --spcfz-ref-shadow-md: 0 18px 48px rgba(7, 24, 68, 0.11);
  --spcfz-ref-shadow-lg: 0 30px 80px rgba(7, 24, 68, 0.14);
  color: var(--spcfz-ref-text);
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 87, 255, 0.06), transparent 28%),
    radial-gradient(circle at 90% 55%, rgba(116, 48, 255, 0.06), transparent 26%),
    #ffffff;
  overflow-x: hidden;
  font-family: "General Sans", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body .site-main.spcfz-referral-page *,
body .site-main.spcfz-referral-page *::before,
body .site-main.spcfz-referral-page *::after,
body.page-template-page-referral .site-main.spcfz-referral-page *,
body.page-template-page-referral .site-main.spcfz-referral-page *::before,
body.page-template-page-referral .site-main.spcfz-referral-page *::after {
  box-sizing: border-box;
}

body .site-main.spcfz-referral-page button,
body .site-main.spcfz-referral-page input,
body .site-main.spcfz-referral-page select,
body .site-main.spcfz-referral-page textarea,
body.page-template-page-referral .site-main.spcfz-referral-page button,
body.page-template-page-referral .site-main.spcfz-referral-page input,
body.page-template-page-referral .site-main.spcfz-referral-page select,
body.page-template-page-referral .site-main.spcfz-referral-page textarea {
  font: inherit;
}

body .site-main.spcfz-referral-page,
body .site-main.spcfz-referral-page h1,
body .site-main.spcfz-referral-page h2,
body .site-main.spcfz-referral-page h3,
body .site-main.spcfz-referral-page h4,
body .site-main.spcfz-referral-page p,
body .site-main.spcfz-referral-page a,
body .site-main.spcfz-referral-page span,
body .site-main.spcfz-referral-page strong,
body .site-main.spcfz-referral-page label,
body .site-main.spcfz-referral-page button,
body .site-main.spcfz-referral-page input,
body .site-main.spcfz-referral-page select,
body .site-main.spcfz-referral-page textarea,
body.page-template-page-referral .site-main.spcfz-referral-page,
body.page-template-page-referral .site-main.spcfz-referral-page h1,
body.page-template-page-referral .site-main.spcfz-referral-page h2,
body.page-template-page-referral .site-main.spcfz-referral-page h3,
body.page-template-page-referral .site-main.spcfz-referral-page h4,
body.page-template-page-referral .site-main.spcfz-referral-page p,
body.page-template-page-referral .site-main.spcfz-referral-page a,
body.page-template-page-referral .site-main.spcfz-referral-page span,
body.page-template-page-referral .site-main.spcfz-referral-page strong,
body.page-template-page-referral .site-main.spcfz-referral-page label,
body.page-template-page-referral .site-main.spcfz-referral-page button,
body.page-template-page-referral .site-main.spcfz-referral-page input,
body.page-template-page-referral .site-main.spcfz-referral-page select,
body.page-template-page-referral .site-main.spcfz-referral-page textarea {
  font-family: "General Sans", sans-serif;
}

body .site-main.spcfz-referral-page .spcfz-referral__container,
body.page-template-page-referral .site-main.spcfz-referral-page .spcfz-referral__container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

body .site-main.spcfz-referral-page .spcfz-referral__container--narrow,
body.page-template-page-referral .site-main.spcfz-referral-page .spcfz-referral__container--narrow {
  max-width: 920px;
}

.spcfz-referral__hero,
.spcfz-referral__section {
  scroll-margin-top: 120px;
}

.spcfz-referral__hero {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 28%, rgba(255, 255, 255, 0.76) 42%, rgba(255, 255, 255, 0.24) 60%, rgba(255, 255, 255, 0.08) 100%);
}

.spcfz-referral__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://www.spcfz.ae/wp-content/uploads/2026/05/Header-1-scaled.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -1;
  pointer-events: none;
}

.spcfz-referral__hero-inner {
  position: relative;
  z-index: 2;
  min-height: 510px;
  display: flex;
  align-items: center;
}

.spcfz-referral__hero-content {
  max-width: 430px;
  padding: 50px 0 44px;
  position: relative;
  z-index: 3;
}

.spcfz-referral__hero-title {
  font-size: clamp(46px, 5.1vw, 55px) !important;
  line-height: 0.99;
  letter-spacing: -0.06em;
  margin: 0 0 18px;
  font-weight: 950;
  color: #050b1c;
  font-family: 'General Sans';
  text-wrap: balance;
}

.spcfz-referral__hero-title span,
.spcfz-referral__section-title span,
.spcfz-referral__benefit-card strong {
  color: var(--spcfz-ref-blue);
}

.spcfz-referral__currency {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  gap: 0;
}

.spcfz-referral__currency .dirham-symbol {
  display: inline-block;
  white-space: nowrap;
}

.spcfz-referral__hero-copy {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.28;
  margin: 0 0 28px;
  color: #2d3343;
  max-width: 26rem;
}

.spcfz-referral__hero-copy strong {
  color: var(--spcfz-ref-navy);
}

.spcfz-referral__button,
.spcfz-referral__gravity-form .gform_button,
.spcfz-referral__gravity-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--spcfz-ref-blue), var(--spcfz-ref-purple));
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.02em;
  border: 0;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 87, 255, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
}

.spcfz-referral__button::after,
.spcfz-referral__gravity-form .gform_button::after,
.spcfz-referral__gravity-form input[type="submit"]::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -130%;
  width: 58%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-22deg);
  transition: left 0.45s ease;
}

.spcfz-referral__button:hover,
.spcfz-referral__button:focus-visible,
.spcfz-referral__gravity-form .gform_button:hover,
.spcfz-referral__gravity-form .gform_button:focus-visible,
.spcfz-referral__gravity-form input[type="submit"]:hover,
.spcfz-referral__gravity-form input[type="submit"]:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(0, 87, 255, 0.34);
  filter: saturate(1.08);
}

.spcfz-referral__button:hover::after,
.spcfz-referral__button:focus-visible::after,
.spcfz-referral__gravity-form .gform_button:hover::after,
.spcfz-referral__gravity-form .gform_button:focus-visible::after,
.spcfz-referral__gravity-form input[type="submit"]:hover::after,
.spcfz-referral__gravity-form input[type="submit"]:focus-visible::after {
  left: 135%;
}

.spcfz-referral__button:focus-visible,
.spcfz-referral__gravity-form .gform_button:focus-visible,
.spcfz-referral__gravity-form input[type="submit"]:focus-visible,
.spcfz-referral__slider-btn:focus-visible,
.spcfz-referral__slider-dot:focus-visible,
.spcfz-referral__gravity-form input:focus-visible,
.spcfz-referral__gravity-form select:focus-visible,
.spcfz-referral__gravity-form textarea:focus-visible {
  outline: 2px solid var(--spcfz-ref-blue);
  outline-offset: 2px;
}

.spcfz-referral__intro {
  position: relative;
  padding: 68px 0 44px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.spcfz-referral__intro p {
  font-size: 21px;
  line-height: 1.6;
  margin: 0 auto 28px;
  color: #263044;
  max-width: 54rem;
  text-wrap: pretty;
}

.spcfz-referral__intro strong {
  color: var(--spcfz-ref-navy);
}

.spcfz-referral__intro-callout {
  display: inline-block;
  color: var(--spcfz-ref-blue);
  font-size: 22px;
  line-height: 1.4;
  margin: 18px 0 0;
  font-weight: 900;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid rgba(0, 87, 255, 0.12);
  border-radius: 22px;
  padding: 22px 30px;
  box-shadow: var(--spcfz-ref-shadow-sm);
  text-wrap: balance;
}

.spcfz-referral__section {
  padding: 54px 0 34px;
  text-align: center;
}

.spcfz-referral__section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--spcfz-ref-blue);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 14px;
}

.spcfz-referral__section-kicker::before,
.spcfz-referral__section-kicker::after {
  content: "";
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--spcfz-ref-blue));
  display: block;
  opacity: 0.75;
}

.spcfz-referral__section-kicker::after {
  background: linear-gradient(90deg, var(--spcfz-ref-blue), transparent);
}

.spcfz-referral__section-title {
  color: var(--spcfz-ref-navy);
  font-size: clamp(32px, 3vw, 44px) !important;
  line-height: 1.12;
  margin: 0 0 34px;
  font-weight: 950;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.spcfz-referral__form-card h2 {
  color: #fff;
  font-size: clamp(32px, 3vw, 44px) !important;
  line-height: 1.12;
  margin: 0 0 34px;
  font-weight: 950;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.spcfz-referral__steps {
  display: grid;
  grid-template-columns: 1fr 110px 1fr 110px 1fr;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 0;
}

.spcfz-referral__step {
  position: relative;
  text-align: center;
  padding-inline: 6px;
}

.spcfz-referral__step-number {
  position: absolute;
  top: -7px;
  left: 50%;
  margin-left: -58px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--spcfz-ref-blue), var(--spcfz-ref-purple));
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 17px;
  box-shadow: 0 10px 22px rgba(0, 87, 255, 0.28);
}

.spcfz-referral__step-icon,
.spcfz-referral__benefit-icon,
.spcfz-referral__mini-icon {
  background: radial-gradient(circle at 30% 20%, #ffffff, #eef2ff);
  border: 1px solid rgba(0, 87, 255, 0.08);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--spcfz-ref-blue);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.45), var(--spcfz-ref-shadow-sm);
}

.spcfz-referral__step-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
}

.spcfz-referral__benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

.spcfz-referral__mini-icon {
  width: 72px;
  height: 72px;
  margin: 0;
}

.spcfz-referral__step-icon img,
.spcfz-referral__benefit-icon img,
.spcfz-referral__mini-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.spcfz-referral__step-icon img {
  width: 44px;
  height: 44px;
}

.spcfz-referral__benefit-icon img {
  width: 40px;
  height: 40px;
}

.spcfz-referral__mini-icon img {
  width: 32px;
  height: 32px;
}

.spcfz-referral__step h3 {
  font-size: 17px;
  line-height: 1.3;
  margin: 0;
  font-weight: 900;
  color: var(--spcfz-ref-navy);
}

.spcfz-referral__step-line {
  position: relative;
  height: 2px;
  border-top: 2px dashed rgba(7, 24, 68, 0.35);
  transform: translateY(-28px);
}

.spcfz-referral__step-line::after {
  content: "›";
  position: absolute;
  right: -4px;
  top: -18px;
  color: rgba(7, 24, 68, 0.6);
  font-size: 32px;
  line-height: 1;
}

.spcfz-referral__section--form {
  padding: 44px 0 68px;
}

.spcfz-referral__form-card {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(6, 18, 56, 0.98), rgba(14, 35, 98, 0.94)) padding-box,
    linear-gradient(135deg, rgba(82, 140, 255, 0.55), rgba(148, 102, 255, 0.42)) border-box;
  border: 1px solid transparent;
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(7, 24, 68, 0.18);
  padding: 34px;
  text-align: left;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.spcfz-referral__form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(77, 140, 255, 0.2), transparent 26%),
    radial-gradient(circle at 100% 20%, rgba(148, 102, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.spcfz-referral__form-card > * {
  position: relative;
  z-index: 2;
}

.spcfz-referral__form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 30px;
  align-items: stretch;
}

.spcfz-referral__form-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 6px 12px 8px;
  color: #ffffff;
}

.spcfz-referral__section-title--form {
  color: #ffffff;
  max-width: 11ch;
  margin-bottom: 18px;
}

.spcfz-referral__form-copy {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.spcfz-referral__form-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
  max-width: 34rem;
}

.spcfz-referral__form-point {
  display: grid;
  gap: 4px;
  padding: 18px 18px 17px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.spcfz-referral__form-point strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.spcfz-referral__form-point span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.spcfz-referral__form-intro .spcfz-referral__safe-note {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.spcfz-referral__form-intro .spcfz-referral__safe-note::before {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.06);
}

.spcfz-referral__form-panel {
  padding: 28px 26px 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    0 18px 44px rgba(5, 14, 43, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.spcfz-referral__form-panel-head {
  margin-bottom: 18px;
}

.spcfz-referral__form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--spcfz-ref-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spcfz-referral__form-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--spcfz-ref-blue), var(--spcfz-ref-purple));
}

.spcfz-referral__form-panel-head h3 {
  margin: 0;
  color: #071844;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.spcfz-referral__gravity-form .gform_wrapper,
.spcfz-referral__gravity-form form {
  margin: 0;
}

.spcfz-referral__gravity-form .gform_heading,
.spcfz-referral__gravity-form .gform_description,
.spcfz-referral__gravity-form .gform_required_legend {
  display: none;
}

.spcfz-referral__gravity-form .gform_validation_errors,
.spcfz-referral__gravity-form .validation_message,
.spcfz-referral__gravity-form .gfield_validation_message,
.spcfz-referral__gravity-form .gform_submission_error,
.spcfz-referral__gravity-form .gform_confirmation_message {
  text-align: left;
  border-radius: 16px;
}

.spcfz-referral__gravity-form .gform_fields,
.spcfz-referral__gravity-form .gform-body .gform_fields {
  display: grid;
  gap: 14px;
}

.spcfz-referral__gravity-form .gfield {
  text-align: left;
}

.spcfz-referral__gravity-form .gfield_description {
  color: #60708d;
  font-size: 13px;
}

.spcfz-referral__gravity-form .gfield_label,
.spcfz-referral__gravity-form .gform-field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--spcfz-ref-navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.spcfz-referral__gravity-form .gfield_required,
.spcfz-referral__gravity-form .gfield_required_text {
  color: var(--spcfz-ref-blue);
}

.spcfz-referral__gravity-form input[type="text"],
.spcfz-referral__gravity-form input[type="email"],
.spcfz-referral__gravity-form input[type="tel"],
.spcfz-referral__gravity-form input[type="number"],
.spcfz-referral__gravity-form select,
.spcfz-referral__gravity-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid #d7e0f0;
  border-radius: 16px;
  padding: 14px 17px;
  font-size: 16px;
  color: #172033;
  background: #ffffff;
  outline: none;
  box-shadow: 0 10px 24px rgba(7, 24, 68, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.spcfz-referral__gravity-form textarea {
  min-height: 120px;
  resize: vertical;
}

.spcfz-referral__gravity-form input::placeholder,
.spcfz-referral__gravity-form textarea::placeholder {
  color: #8a91a3;
}

.spcfz-referral__gravity-form input:focus,
.spcfz-referral__gravity-form select:focus,
.spcfz-referral__gravity-form textarea:focus {
  border-color: var(--spcfz-ref-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 87, 255, 0.08), 0 14px 28px rgba(0, 87, 255, 0.08);
}

.spcfz-referral__gravity-form .gform_footer,
.spcfz-referral__gravity-form .gform_page_footer {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  padding: 0;
}

.spcfz-referral__gravity-form .gform_button,
.spcfz-referral__gravity-form input[type="submit"] {
  width: 100%;
  justify-content: center;
  border-radius: 16px;
  min-height: 58px;
  font-size: 18px;
  margin-top: 6px;
}

.spcfz-referral__form-fallback {
  max-width: 540px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px dashed rgba(0, 87, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.spcfz-referral__safe-note {
  margin: 12px 0 0;
  color: #737b90;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spcfz-referral__safe-note::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--spcfz-ref-blue), var(--spcfz-ref-purple));
  box-shadow: 0 0 0 5px rgba(0, 87, 255, 0.08);
}

.spcfz-referral__section--benefits {
  padding: 18px 0 66px;
}

.spcfz-referral__benefits-title {
  font-size: 21px !important;
  line-height: 1.4;
  color: var(--spcfz-ref-navy);
  margin: 0 0 34px;
  font-weight: 900;
}

.spcfz-referral__benefit-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spcfz-referral__benefit-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(228, 233, 245, 0.95);
  border-radius: 24px;
  padding: 34px 22px 30px;
  min-height: 270px;
  box-shadow: var(--spcfz-ref-shadow-sm);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.spcfz-referral__benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--spcfz-ref-blue), var(--spcfz-ref-purple));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.spcfz-referral__benefit-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -52px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 87, 255, 0.08), transparent 68%);
  pointer-events: none;
}

.spcfz-referral__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--spcfz-ref-shadow-md);
  border-color: rgba(0, 87, 255, 0.18);
}

.spcfz-referral__benefit-card:hover::before {
  opacity: 1;
}

.spcfz-referral__benefit-card h3,
.spcfz-referral__mini-benefit h3 {
  color: var(--spcfz-ref-navy);
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 950;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.spcfz-referral__benefit-card p,
.spcfz-referral__mini-benefit p {
  color: #4e596f;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.spcfz-referral__section--choose {
  position: relative;
  padding: 60px 0 78px;
}

.spcfz-referral__section--choose::before {
  content: "";
  position: absolute;
  inset: 24px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 87, 255, 0), rgba(0, 87, 255, 0.14), rgba(0, 87, 255, 0));
}

#spcfz-referral__section-title--choose {
    font-size: clamp(22px, 2vw, 28px) !important;

  margin-bottom: 26px;
}

.spcfz-referral__slider-shell {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 68px;
}

.spcfz-referral__slider-shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 72px;
  width: 64px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
}

.spcfz-referral__slider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 24px 10px 36px;
  scrollbar-width: none;
  text-align: left;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.spcfz-referral__slider-track::-webkit-scrollbar {
  display: none;
}

.spcfz-referral__slide {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  position: relative;
}

.spcfz-referral__mini-benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 18px;
  height: 100%;
  min-height: 280px;
  padding: 30px 24px 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
  border: 1px solid rgba(219, 228, 245, 0.95);
  box-shadow: 0 10px 22px rgba(7, 24, 68, 0.06);
  overflow: hidden;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spcfz-referral__mini-benefit::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--spcfz-ref-blue), var(--spcfz-ref-purple));
  opacity: 0.92;
}

.spcfz-referral__mini-benefit:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(7, 24, 68, 0.09);
  border-color: rgba(0, 87, 255, 0.16);
}

.spcfz-referral__mini-benefit > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spcfz-referral__section--choose .spcfz-referral__mini-icon {
  width: 78px;
  height: 78px;
  background: linear-gradient(180deg, rgba(0, 87, 255, 0.12), rgba(116, 48, 255, 0.07));
  border: 1px solid rgba(0, 87, 255, 0.08);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.5);
}

.spcfz-referral__section--choose .spcfz-referral__mini-icon img {
  width: 34px;
  height: 34px;
}

.spcfz-referral__section--choose .spcfz-referral__mini-benefit h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.spcfz-referral__section--choose .spcfz-referral__mini-benefit p {
  font-size: 15px;
  line-height: 1.62;
  color: #58647b;
}

.spcfz-referral__slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
  position: relative;
  z-index: 3;
}

.spcfz-referral__slider-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 87, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--spcfz-ref-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(7, 24, 68, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

.spcfz-referral__slider-btn > span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.spcfz-referral__slider-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(7, 24, 68, 0.12);
  border-color: rgba(0, 87, 255, 0.22);
}

.spcfz-referral__slider-btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
  box-shadow: 0 12px 24px rgba(7, 24, 68, 0.05);
}

.spcfz-referral__slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.spcfz-referral__slider-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(0, 87, 255, 0.18);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.spcfz-referral__slider-dot.is-active {
  background: linear-gradient(135deg, var(--spcfz-ref-blue), var(--spcfz-ref-purple));
  transform: scale(1.18);
  box-shadow: 0 6px 14px rgba(0, 87, 255, 0.25);
}

@media (max-width: 991px) {
  .spcfz-referral__hero {
    min-height: auto;
  }

  .spcfz-referral__hero-inner {
    text-align: center;
    min-height: auto;
  }

  .spcfz-referral__hero-content {
    max-width: none;
    padding: 52px 0 280px;
  }

  .spcfz-referral__hero::after {
    background-position: 64% center;
    background-size: cover;
  }

  .spcfz-referral__form-card {
    padding: 28px;
  }

  .spcfz-referral__form-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .spcfz-referral__form-intro {
    padding: 0;
  }

  .spcfz-referral__section-title--form {
    max-width: none;
  }

  .spcfz-referral__benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spcfz-referral__slide {
    flex-basis: calc((100% - 22px) / 2);
  }

  .spcfz-referral__slider-shell {
    padding: 10px 48px;
  }

  .spcfz-referral__steps {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 420px;
  }

  .spcfz-referral__step-line {
    display: none;
  }

  .spcfz-referral__step-number {
    margin-left: -66px;
  }
}

@media (max-width: 640px) {
  .spcfz-referral__container {
    width: min(100% - 28px, 1140px);
  }

  .spcfz-referral__hero {
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.72) 42%, rgba(255, 255, 255, 0.1) 100%);
  }

  .spcfz-referral__hero-inner {
    min-height: 560px;
    align-items: flex-start;
  }

  .spcfz-referral__hero-content {
    max-width: 100%;
    width: 100%;
    margin: 18px auto 0;
    padding: 22px 18px 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 42px rgba(7, 24, 68, 0.1);
  }

  .spcfz-referral__hero-title {
    font-size: 32px;
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
  }

  .spcfz-referral__hero-copy,
  .spcfz-referral__intro p {
    font-size: 17px;
  }

  .spcfz-referral__hero-copy {
    margin-bottom: 20px;
    line-height: 1.38;
  }

  .spcfz-referral__button {
    width: 100%;
    max-width: 220px;
    min-height: 52px;
    font-size: 17px;
  }

  .spcfz-referral__hero::after {
    background-position: 72% bottom;
    background-size: auto 62%;
  }

  .spcfz-referral__intro {
    padding: 46px 0 32px;
  }

  .spcfz-referral__intro-callout {
    font-size: 18px;
    padding: 18px;
  }

  .spcfz-referral__section--steps {
    padding-top: 42px;
  }

  .spcfz-referral__benefit-grid {
    grid-template-columns: 1fr;
  }

  .spcfz-referral__slider-shell {
    padding: 8px 0;
  }

  .spcfz-referral__slider-shell::after {
    display: none;
  }

  .spcfz-referral__slide {
    flex-basis: 84%;
  }

  .spcfz-referral__slider-nav {
    margin-top: 2px;
    gap: 10px;
  }

  .spcfz-referral__slider-btn {
    width: 42px;
    height: 42px;
  }

  .spcfz-referral__slider-btn > span {
    transform: translateY(-0.5px);
  }

  .spcfz-referral__benefit-card {
    min-height: auto;
  }

  .spcfz-referral__mini-benefit {
    min-height: 0;
    gap: 16px;
    padding: 18px 16px;
  }

  .spcfz-referral__section--choose .spcfz-referral__mini-benefit h3 {
    font-size: 18px;
  }

  .spcfz-referral__mini-icon {
    width: 58px;
    height: 58px;
  }

  .spcfz-referral__mini-icon img {
    width: 26px;
    height: 26px;
  }

  .spcfz-referral__form-card {
    border-radius: 24px;
    padding: 18px;
  }

  .spcfz-referral__form-panel {
    padding: 20px 16px 18px;
  }

  .spcfz-referral__gravity-form input[type="text"],
  .spcfz-referral__gravity-form input[type="email"],
  .spcfz-referral__gravity-form input[type="tel"],
  .spcfz-referral__gravity-form input[type="number"],
  .spcfz-referral__gravity-form select,
  .spcfz-referral__gravity-form textarea {
    min-height: 52px;
  }

  .spcfz-referral__section-kicker {
    gap: 10px;
    font-size: 12px;
    line-height: 1.3;
  }

  .spcfz-referral__section-kicker::before,
  .spcfz-referral__section-kicker::after {
    width: 30px;
  }

  .spcfz-referral__section-title,
  .spcfz-referral__form-card h2 {
    font-size: 29px;
  }

  .spcfz-referral__section-title--choose {
    font-size: 23px;
  }
}
div#field_51_2,
div#field_51_57,
div#field_51_58 ,
div#field_51_59{
    width: calc(50% - 10px) !important;
    
}

.spcfz-referral__gravity-form .gform_fields, .spcfz-referral__gravity-form .gform-body .gform_fields {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 14px;
}

.spcfz-referral__gravity-form .gfield {
    width: 100%;
}



#gform_submit_button_51 {
  position: relative;
  min-height: 50px;
  padding: 0 32px;
  border: 1px solid #0057ff;
  border-radius: 36px;
  background-color: #0057ff;
  background-image: linear-gradient(90deg, #000000, #000000);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(0, 87, 255, 0.24);
  transition:
    background-size 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

#gform_submit_button_51:hover,
#gform_submit_button_51:focus-visible {
  background-size: 100% 100%;
  border-color: #000000;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

#gform_submit_button_51:focus-visible {
  outline: 3px solid rgba(0, 87, 255, 0.22);
  outline-offset: 3px;
}

#gform_submit_button_51:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}




div#gform_51_validation_container .gform_submission_error{
    font-size: 14px !important;
    margin: 0;
}

.spcfz-referral__gravity-form .gfield_description {
    color: #c02b0a;
}