@charset "UTF-8";
/**
 * Styles for template-pages/page-referral.php ("Referral" page template).
 *
 * Source file — do not edit css/page-referral.css directly, it is generated.
 * Build: npm run build:referral-css
 * Watch: npm run watch:referral-css
 *
 * Type sizes / spacing aligned to Figma export (1440px frame).
 */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700;900&family=Poppins:wght@700&family=Manrope:wght@700&display=swap");
.referral-page,
.referral-page * {
  box-sizing: border-box;
}

.referral-page {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: #1E3C62;
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100%;
}
.referral-page h1,
.referral-page h2,
.referral-page h3,
.referral-page p,
.referral-page ul,
.referral-page blockquote {
  margin: 0;
  padding: 0;
}
.referral-page p {
  color: inherit;
}
.referral-page img {
  max-width: 100%;
  display: block;
}
.referral-page a {
  color: inherit;
  text-decoration: none;
}
.referral-page ul {
  list-style: none;
}
.referral-page h1,
.referral-page h2,
.referral-page h3 {
  font-family: "Source Sans 3", sans-serif;
  text-transform: uppercase;
  line-height: 1.1;
}
.referral-page .ref-wrap {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.referral-page .ref-eyebrow {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
  opacity: 0.7;
}
.referral-page .ref-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 40px;
  min-height: 48px;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.referral-page .ref-btn:hover {
  opacity: 0.88;
}
.referral-page .ref-btn-solid {
  background: #FE4500;
  color: #fff;
}
.referral-page .ref-btn-outline {
  border-color: #fff;
  color: #fff;
}
.referral-page .ref-divider {
  width: 58px;
  height: 4px;
  background: #FE4500;
  margin: 12px 0 16px;
}
.referral-page .ref-accent {
  color: #FE4500;
}
.referral-page {
  /* HERO */
}
.referral-page .ref-hero {
  background: url("/wp-content/themes/Caldwill-wenzel-asthana/images/referral/hero-bg.png");
  color: #fff;
  padding: 96px 0 160px;
  background-size: cover;
}
.referral-page .ref-hero .ref-eyebrow {
  font-family: "Source Sans 3", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
  opacity: 1;
  color: #FE4500;
  margin-bottom: 16px;
}
.referral-page .ref-hero h1 {
  font-size: 62px;
  font-weight: 400;
  line-height: 62px;
  margin-bottom: 24px;
  max-width: 720px;
}
.referral-page .ref-hero p.ref-lede {
  font-size: 20px;
  line-height: 30px;
  opacity: 0.8;
  max-width: 666px;
  margin-bottom: 40px;
}
.referral-page .ref-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.referral-page .ref-hero-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.referral-page .ref-hero-ctas .ref-btn {
  min-width: 223px;
}
.referral-page .ref-hero-media {
  position: relative;
  max-width: 435px;
  margin-left: auto;
}
.referral-page .ref-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 435/268;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 14px 54px #11263F;
}
.referral-page .ref-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: #FE4500;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.referral-page .ref-play-btn::after {
  content: "";
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.referral-page .ref-play-btn:hover {
  opacity: 0.9;
}
.referral-page .ref-media-caption {
  background: #FE4500;
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 14px;
  min-height: 48px;
}
.referral-page {
  /* STATS STRIP */
}
.referral-page .ref-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 870px;
  margin: -84px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}
.referral-page .ref-stat-card {
  background: #fff;
  box-shadow: 0 44px 54px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 38px 16px 32px;
  outline: 1px solid #1E3C62;
  outline-offset: -9px;
}
.referral-page .ref-stat-card .ref-num {
  color: #FE4500;
  font-size: 45px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.1;
}
.referral-page .ref-stat-card .ref-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.referral-page {
  /* SHARED SECTION HEADINGS */
}
.referral-page .ref-section {
  padding: 134px 0 100px;
}
.referral-page .ref-section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.referral-page .ref-section-head h2 {
  font-size: 50px;
  font-weight: 700;
  line-height: 50px;
}
@media (max-width: 900px) {
  .referral-page .ref-section-head h2 {
    font-size: 32px;
    line-height: 1.1;
  }
}
.referral-page .ref-section-head p {
  font-size: 18px;
  line-height: 27px;
  opacity: 0.8;
}
.referral-page {
  /* SIX REASONS */
}
.referral-page .ref-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.referral-page .ref-reason-card {
  position: relative;
  background: #fff;
  border: 3px solid #EEEEEE;
  padding: 28px 24px 32px;
  box-shadow: 0 0 0 transparent;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.referral-page .ref-reason-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 5px;
  background: #FE4500;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
  pointer-events: none;
}
.referral-page .ref-reason-card:hover {
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
.referral-page .ref-reason-card:hover::after {
  transform: scaleX(1);
}
.referral-page .ref-reason-card .ref-tag {
  color: #FE4500;
  font-size: 16px;
  font-weight: 600;
  line-height: 19.2px;
  display: block;
  margin-bottom: 10px;
}
.referral-page .ref-reason-card h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 28.6px;
  margin-bottom: 0;
}
.referral-page .ref-reason-card .ref-divider {
  margin: 12px 0 18px;
}
.referral-page .ref-reason-card p {
  font-size: 18px;
  line-height: 27px;
  opacity: 0.9;
}
.referral-page {
  /* COMMITMENT (dark) */
}
.referral-page .ref-commitment {
  background: #1E3C62;
  color: #fff;
}
.referral-page .ref-commitment .ref-eyebrow {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}
.referral-page .ref-commitment-grid {
  display: grid;
  grid-template-columns: 1.37fr 1fr;
  gap: 30px;
  align-items: start;
  margin-top: 56px;
}
.referral-page .ref-commit-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.referral-page .ref-commit-item {
  background: #1E3C62;
  border: 1px solid #D6E7FF;
  padding: 17px 22px 20px 59px;
  position: relative;
  min-height: 131px;
}
.referral-page .ref-commit-item .ref-idx {
  position: absolute;
  left: -27px;
  top: 14px;
  width: 46px;
  height: 46px;
  background: #FE4500;
  outline: 2px solid #1E3C62;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  line-height: 22px;
}
.referral-page .ref-commit-item h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 26.4px;
  margin-bottom: 0;
}
.referral-page .ref-commit-item .ref-divider {
  margin: 8px 0 12px;
}
.referral-page .ref-commit-item p {
  font-size: 16px;
  line-height: 24px;
  opacity: 0.9;
}
.referral-page .ref-result-card {
  background: #112743;
  padding: 36px 37px;
}
.referral-page .ref-result-card .ref-tag {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 25.6px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 28px;
}
.referral-page .ref-result-card .ref-big {
  font-family: "Manrope", sans-serif;
  font-size: 76px;
  font-weight: 700;
  line-height: 76px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.referral-page .ref-result-card .ref-sub {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28.8px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.referral-page .ref-result-card .ref-strike {
  font-family: "Manrope", sans-serif;
  font-size: 46px;
  font-weight: 500;
  opacity: 0.6;
  text-decoration: line-through;
  letter-spacing: 4.6px;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.referral-page .ref-result-card .ref-top-offer {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 25.6px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 28px;
}
.referral-page .ref-result-card p.ref-body {
  font-size: 18px;
  line-height: 27px;
  opacity: 0.8;
  margin-bottom: 24px;
}
.referral-page .ref-result-card hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 14px;
}
.referral-page .ref-result-card .ref-uplift .ref-n {
  color: #FE4500;
  font-size: 25px;
  font-weight: 600;
  line-height: 37.5px;
}
.referral-page .ref-result-card .ref-uplift .ref-t {
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
}
.referral-page {
  /* WHERE WE PRACTICE */
}
.referral-page .ref-practice {
  background: #F2F2F2;
}
.referral-page .ref-practice-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 36px;
  align-items: center;
}
.referral-page .ref-map-card {
  background: #fff;
  box-shadow: 0 28px 34px rgba(0, 0, 0, 0.05);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 546px;
}
.referral-page .ref-map-card img {
  width: 100%;
  max-width: 481px;
  height: auto;
}
.referral-page .ref-regions {
  display: flex;
  flex-direction: column;
}
.referral-page .ref-region {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 0 0;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid #CDCFD0;
}
.referral-page .ref-region:first-child {
  padding-top: 0;
}
.referral-page .ref-region:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.referral-page .ref-region .ref-region-head {
  padding-right: 16px;
}
.referral-page .ref-region .ref-tag {
  color: #FE4500;
  font-size: 14px;
  font-weight: 600;
  line-height: 16.8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
}
.referral-page .ref-region h3 {
  font-size: 34px;
  font-weight: 700;
  line-height: 37.4px;
  margin: 10px 0 0;
}
.referral-page .ref-region .ref-divider {
  margin: 12px 0 0;
}
.referral-page .ref-region p {
  font-size: 16px;
  line-height: 24px;
  opacity: 0.9;
  margin: 0;
}
.referral-page {
  /* TRACK RECORD */
}
.referral-page .ref-doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 38px;
}
.referral-page .ref-doc-card {
  display: block;
  background: #fff;
  border: 3px solid #EEEEEE;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.referral-page .ref-doc-card:hover {
  opacity: 0.92;
}
.referral-page .ref-doc-card > img {
  width: 100%;
  height: 362px;
  -o-object-fit: cover;
     object-fit: cover;
}
.referral-page .ref-doc-head {
  background: #1E3C62;
  border-bottom: 3px solid #FE4500;
  padding: 15px 15px;
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}
.referral-page .ref-doc-head .ref-court {
  font-size: 16px;
  font-weight: 600;
  display: block;
}
.referral-page .ref-doc-head .ref-type {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}
.referral-page .ref-doc-head .ref-page {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}
.referral-page .ref-doc-head .ref-doc-meta {
  text-align: right;
}
.referral-page .ref-doc-head .ref-doc-meta .ref-meta-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.7;
}
.referral-page .ref-doc-head .ref-doc-meta .ref-page {
  display: block;
}
.referral-page .ref-doc-foot {
  background: #D6E7FF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  min-height: 56px;
}
.referral-page .ref-doc-foot .ref-doc-foot-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.referral-page .ref-doc-foot span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.02px;
}
.referral-page .ref-doc-foot .ref-pdf-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.referral-page .ref-doc-foot .ref-arrow-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.referral-page .ref-testimonial {
  background: #1E3C62;
  color: #fff;
  padding: 30px 30px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.referral-page .ref-testimonial .ref-testimonial-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}
.referral-page .ref-testimonial .ref-testimonial-deco {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 210px;
  height: 150px;
  pointer-events: none;
}
.referral-page .ref-testimonial .ref-stars {
  color: #FE4500;
  font-size: 28px;
  letter-spacing: 3px;
  margin-bottom: 11px;
  line-height: 1;
}
.referral-page .ref-testimonial p.ref-quote {
  font-size: 22px;
  line-height: 30.8px;
  max-width: 952px;
  margin-bottom: 20px;
}
.referral-page .ref-testimonial .ref-who {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 6px;
}
.referral-page .ref-testimonial .ref-role {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.32px;
  opacity: 0.85;
}
.referral-page {
  /* CONTACT */
}
.referral-page .ref-contact {
  background: #F2F2F2;
  overflow-x: clip;
}
.referral-page .ref-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 50px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}
.referral-page .ref-contact-copy {
  min-width: 0;
  max-width: 100%;
  padding-top: 8px;
}
.referral-page .ref-contact-copy h2 {
  font-size: 50px;
  font-weight: 700;
  line-height: 50px;
  margin-bottom: 28px;
  overflow-wrap: break-word;
}
.referral-page .ref-contact-lede {
  font-size: 18px;
  line-height: 27px;
  opacity: 0.8;
  margin-bottom: 48px;
  max-width: 499px;
}
.referral-page .ref-contact-list {
  display: flex;
  flex-direction: column;
  gap: 29px;
  min-width: 0;
}
.referral-page .ref-contact-item {
  border-left: 4px solid #FE4500;
  padding-left: 15px;
  min-height: 52px;
  min-width: 0;
}
.referral-page .ref-contact-item .ref-label {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 25.6px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: 0.7;
  display: block;
  margin-bottom: 2px;
}
.referral-page .ref-contact-item .ref-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 33px;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: block;
  max-width: 100%;
}
.referral-page .ref-contact-item a.ref-value:hover {
  color: #FE4500;
}
.referral-page .ref-form-card {
  background: #fff;
  box-shadow: 0 28px 34px rgba(0, 0, 0, 0.05);
  padding: 32px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.referral-page .ref-form-card .ref-form-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 35.2px;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #1E3C62;
  overflow-wrap: break-word;
}
.referral-page .ref-form-card .ref-form-lede {
  font-size: 18px;
  line-height: 27px;
  opacity: 0.9;
  margin: 0 0 28px;
  color: #1E3C62;
}
.referral-page .ref-form-card .hs-form-frame {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.referral-page .ref-form-card .hs-form-frame iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block;
  border: 0 !important;
}
.referral-page .ref-hs-form {
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  color: #1E3C62;
}
.referral-page .ref-hs-form form,
.referral-page .ref-hs-form .hs-form,
.referral-page .ref-hs-form fieldset {
  max-width: 100% !important;
  border: 0;
  margin: 0;
  padding: 0;
}
.referral-page .ref-hs-form .hs-form-field,
.referral-page .ref-hs-form .hs-form > .hs-form-field,
.referral-page .ref-hs-form .field {
  margin-bottom: 20px !important;
  float: none !important;
  width: 100% !important;
}
.referral-page .ref-hs-form .form-columns-2 {
  display: flex !important;
  gap: 12px;
  margin-bottom: 20px;
}
.referral-page .ref-hs-form .form-columns-2 .hs-form-field,
.referral-page .ref-hs-form .form-columns-2 .hs-form-field.hs-firstname,
.referral-page .ref-hs-form .form-columns-2 .hs-form-field.hs-lastname,
.referral-page .ref-hs-form .form-columns-2 .hs-form-field.hs-email,
.referral-page .ref-hs-form .form-columns-2 .hs-form-field.hs-phone,
.referral-page .ref-hs-form .form-columns-2 .field {
  width: 50% !important;
  float: none !important;
  margin-bottom: 0 !important;
}
.referral-page .ref-hs-form .form-columns-1 {
  margin-bottom: 20px;
}
.referral-page .ref-hs-form label,
.referral-page .ref-hs-form .hs-form-field > label {
  display: block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px;
  color: #1E3C62 !important;
  margin: 0 0 8px !important;
}
.referral-page .ref-hs-form .hs-form-required {
  color: #FE4500 !important;
}
.referral-page .ref-hs-form .input {
  margin-right: 0 !important;
}
.referral-page .ref-hs-form .hs-input,
.referral-page .ref-hs-form input.hs-input,
.referral-page .ref-hs-form select.hs-input,
.referral-page .ref-hs-form textarea.hs-input,
.referral-page .ref-hs-form input[type=text],
.referral-page .ref-hs-form input[type=email],
.referral-page .ref-hs-form input[type=tel],
.referral-page .ref-hs-form select,
.referral-page .ref-hs-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-height: 46px;
  padding: 12px 14px !important;
  border: 1px solid #E2E2E2 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #1E3C62 !important;
  font-size: 16px !important;
  font-family: inherit !important;
  box-shadow: none !important;
  outline: none;
}
.referral-page .ref-hs-form textarea.hs-input,
.referral-page .ref-hs-form textarea {
  min-height: 115px !important;
  resize: vertical;
}
.referral-page .ref-hs-form .hs-input:-ms-input-placeholder,
.referral-page .ref-hs-form input:-ms-input-placeholder,
.referral-page .ref-hs-form textarea:-ms-input-placeholder {
  color: rgba(30, 60, 98, 0.55) !important;
  opacity: 1;
}
.referral-page .ref-hs-form .hs-input::-ms-input-placeholder,
.referral-page .ref-hs-form input::-ms-input-placeholder,
.referral-page .ref-hs-form textarea::-ms-input-placeholder {
  color: rgba(30, 60, 98, 0.55) !important;
  opacity: 1;
}
.referral-page .ref-hs-form .hs-input::placeholder,
.referral-page .ref-hs-form input::placeholder,
.referral-page .ref-hs-form textarea::placeholder {
  color: rgba(30, 60, 98, 0.55) !important;
  opacity: 1;
}
.referral-page .ref-hs-form .hs-fieldtype-intl-phone .input,
.referral-page .ref-hs-form .hs-fieldtype-phonenumber .input {
  display: flex;
  gap: 8px;
}
.referral-page .ref-hs-form .legal-consent-container,
.referral-page .ref-hs-form .hs-richtext,
.referral-page .ref-hs-form .hs_recaptcha {
  font-size: 13px !important;
  line-height: 1.45;
  color: rgba(30, 60, 98, 0.75) !important;
  margin-top: 8px;
}
.referral-page .ref-hs-form .legal-consent-container a {
  color: #1E3C62 !important;
  text-decoration: underline;
}
.referral-page .ref-hs-form .hs-error-msgs,
.referral-page .ref-hs-form .hs-error-msg,
.referral-page .ref-hs-form label.hs-error-msg {
  color: #FE4500 !important;
  font-size: 13px !important;
  text-transform: none !important;
  font-weight: 400 !important;
  margin-top: 6px !important;
}
.referral-page .ref-hs-form .hs-submit,
.referral-page .ref-hs-form .hs_submit,
.referral-page .ref-hs-form .actions {
  text-align: right !important;
  margin-top: 8px !important;
  padding: 0 !important;
}
.referral-page .ref-hs-form .hs-button,
.referral-page .ref-hs-form input.hs-button,
.referral-page .ref-hs-form input[type=submit],
.referral-page .ref-hs-form .hs-submit input,
.referral-page .ref-hs-form .actions input[type=submit] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 242px;
  min-height: 52px;
  margin: 0 !important;
  padding: 15px 30px !important;
  border: none !important;
  border-radius: 40px !important;
  background: #FE4500 !important;
  color: #fff !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: none !important;
  transition: opacity 0.2s ease;
}
.referral-page .ref-hs-form .hs-button:hover,
.referral-page .ref-hs-form input.hs-button:hover,
.referral-page .ref-hs-form input[type=submit]:hover,
.referral-page .ref-hs-form .hs-submit input:hover,
.referral-page .ref-hs-form .actions input[type=submit]:hover {
  opacity: 0.88;
  background: #FE4500 !important;
}
.referral-page .ref-hs-form .hs-form-frame,
.referral-page .ref-hs-form iframe {
  width: 100% !important;
  max-width: 100%;
  border: 0 !important;
}
@media (max-width: 1100px) {
  .referral-page .ref-contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .referral-page .ref-contact-item .ref-value {
    font-size: 24px;
    line-height: 1.2;
  }
}
@media (max-width: 900px) {
  .referral-page .ref-hero-grid,
  .referral-page .ref-section-head,
  .referral-page .ref-commitment-grid,
  .referral-page .ref-practice-grid,
  .referral-page .ref-contact-grid,
  .referral-page .ref-reasons-grid,
  .referral-page .ref-doc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .referral-page .ref-stats {
    grid-template-columns: 1fr;
    margin-top: 24px;
    max-width: 100%;
  }
  .referral-page .ref-hero {
    padding-top: 64px;
  }
  .referral-page .ref-hero h1 {
    font-size: 36px;
    line-height: 1.1;
  }
  .referral-page .ref-hero-media {
    margin-left: 0;
    max-width: 100%;
  }
  .referral-page .ref-section-head h2,
  .referral-page .ref-commitment h2,
  .referral-page .ref-contact-copy h2 {
    font-size: 32px;
    line-height: 1.1;
  }
  .referral-page .ref-contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .referral-page .ref-contact-copy {
    max-width: 100%;
  }
  .referral-page .ref-contact-lede {
    max-width: 100%;
    margin-bottom: 32px;
  }
  .referral-page .ref-contact-item .ref-value {
    font-size: 18px;
    line-height: 1.25;
  }
  .referral-page .ref-commit-item {
    padding-left: 70px;
  }
  .referral-page .ref-commit-item .ref-idx {
    left: 0;
    top: 0;
  }
  .referral-page .ref-doc-card img {
    height: 240px;
  }
  .referral-page .ref-region {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .referral-page .ref-form-card {
    padding: 20px 16px;
    width: 100%;
    max-width: 100%;
  }
  .referral-page .ref-form-card .ref-form-title {
    font-size: 26px;
    line-height: 1.15;
  }
  .referral-page .ref-hs-form .form-columns-2 {
    flex-direction: column;
    gap: 20px;
  }
  .referral-page .ref-hs-form .form-columns-2 .hs-form-field,
  .referral-page .ref-hs-form .form-columns-2 .field {
    width: 100% !important;
  }
  .referral-page .ref-hs-form .hs-button,
  .referral-page .ref-hs-form input.hs-button,
  .referral-page .ref-hs-form input[type=submit] {
    width: 100% !important;
  }
  .referral-page .ref-result-card .ref-big {
    font-size: 56px;
    line-height: 1;
  }
}

/*
 * HubSpot NEW forms (iframe) — the only CSS that can style inside the iframe
 * is --hsf-* variables on :root, and ONLY when using Developer code embed
 * from HubSpot (Forms → Review and update → Get embed code → Developer code).
 *
 * .hsfc-* class selectors in this file will NEVER reach the iframe DOM.
 */
:root {
  --hsf-global__font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  --hsf-global__font-size: 16px;
  --hsf-global__color: #1E3C62;
  --hsf-global-error__color: #FE4500;
  --hsf-background__background-color: transparent;
  --hsf-background__padding: 0;
  --hsf-background__border-width: 0;
  --hsf-background__border-style: none;
  --hsf-row__horizontal-spacing: 12px;
  --hsf-row__vertical-spacing: 16px;
  --hsf-module__vertical-spacing: 16px;
  --hsf-field-label__font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  --hsf-field-label__font-size: 16px;
  --hsf-field-label__color: #1E3C62;
  --hsf-field-label-requiredindicator__color: #FE4500;
  --hsf-field-input__font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  --hsf-field-input__color: #1E3C62;
  --hsf-field-input__background-color: #FFFFFF;
  --hsf-field-input__placeholder-color: rgba(30, 60, 98, 0.55);
  --hsf-field-input__border-color: #E2E2E2;
  --hsf-field-input__border-width: 1px;
  --hsf-field-input__border-style: solid;
  --hsf-field-input__border-radius: 0;
  --hsf-field-input__padding: 12px 14px;
  --hsf-field-textarea__font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  --hsf-field-textarea__color: #1E3C62;
  --hsf-field-textarea__background-color: #FFFFFF;
  --hsf-field-textarea__placeholder-color: rgba(30, 60, 98, 0.55);
  --hsf-field-textarea__border-color: #E2E2E2;
  --hsf-field-textarea__border-width: 1px;
  --hsf-field-textarea__border-style: solid;
  --hsf-field-textarea__border-radius: 0;
  --hsf-field-textarea__padding: 12px 14px;
  --hsf-button__font-family: 'Poppins', sans-serif;
  --hsf-button__font-size: 17px;
  --hsf-button__color: #FFFFFF;
  --hsf-button__background-color: #FE4500;
  --hsf-button__border-radius: 100px;
  --hsf-button__padding: 12px 40px;
  --hsf-button__box-shadow: none;
}