/* ==========================================================================
   2026 redesign blocks (acf-block/block/v2). All selectors are prefixed fm2-
   so these styles never touch the original blocks.
   ========================================================================== */

.fm2-container {
  max-width: 1333px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.fm2-section-title {
  font-size: 40px;
  line-height: 1.225;
  font-weight: 500;
  color: #151644;
  text-align: center;
  max-width: 829px;
  margin: 0 auto;
}

.fm2-section-text {
  max-width: 608px;
  margin: 20px auto 0;
  text-align: center;
  font-weight: 400;
  color: #000;
}

.fm2-panel-bg {
  background: #f0f6fb;
  border-radius: 26px;
}

/* Buttons ----------------------------------------------------------------- */
.fm2-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.fm2-btn {
  position: relative;
  display: inline-block;
  padding: 18px 50px 19px 22px;
  border-radius: 200px;
  background: #208bdb;
  color: #fff;
  font-size: 15px;
  line-height: 29px;
  font-weight: 500;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.fm2-btn:after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  right: 35px;
  top: 50%;
  margin-top: -4px;
  transition: all 0.3s ease-in-out;
}

.fm2-btn:hover {
  background: #151644;
  color: #fff;
}

.fm2-btn--light {
  background: #b1e0ef;
  color: #151644;
}

.fm2-btn--light:after {
  background: #208bdb;
}

.fm2-btn--light:hover {
  background: #fff;
  color: #151644;
}

/* Home hero --------------------------------------------------------------- */
.fm2-home-hero {
  position: relative;
  max-width: calc(100% - 72px);
  height: 642px;
  margin: 36px auto 0;
  border-radius: 55px;
  overflow: hidden;
  background: #151644;
}

.fm2-home-hero__bg,
.fm2-home-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm2-home-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Top band keeps the white header menu readable; left band sits behind the title */
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 22%, rgba(0, 0, 0, 0) 40%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 65%);
  pointer-events: none;
}

.fm2-home-hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 0 93px 45px 80px;
}

.fm2-home-hero__content {
  max-width: 667px;
}

.fm2-home-hero h1 {
  font-size: 70px;
  line-height: 65px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 4px 5.8px rgba(0, 0, 0, 0.75);
  margin: 0 0 9px;
}

.fm2-home-hero p {
  max-width: 474px;
  font-size: 25px;
  line-height: 31px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 16px;
}

/* Google rating badge */
.fm2-rating {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 212px;
  height: 66px;
  padding: 5px 10px 0 9px;
  background: #fff;
  border-radius: 1px;
  box-shadow: 0 4px 4px rgba(159, 159, 159, 0.25);
  color: #000;
}

.fm2-rating:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #ee5791;
  border-radius: 1px;
}

.fm2-rating__logo {
  width: 31px;
  height: auto;
  margin-left: 2px;
}

.fm2-rating__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 3px;
}

.fm2-rating__score {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  line-height: 14.6px;
  font-weight: 500;
}

.fm2-rating__score span {
  margin-right: 1px;
}

.fm2-rating__text {
  font-size: 11.863px;
  line-height: 14.6px;
  font-weight: 500;
}

/* Help cards -------------------------------------------------------------- */
.fm2-help {
  background: #fefdf8;
  padding: 39px 0 116px;
}

.fm2-help__title {
  font-size: 40px;
  line-height: 76px;
  font-weight: 500;
  color: #151644;
  margin: 0 0 48px;
}

.fm2-help__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.fm2-help__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 214px;
  padding: 18px 16px 60px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 3.331px 10.824px rgba(167, 167, 167, 0.25);
  color: #000;
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

a.fm2-help__card:hover,
a.fm2-help__card:focus-visible {
  background: #fff;
  box-shadow: 0 3.331px 10.824px rgba(100, 100, 100, 0.25);
  color: #000;
}

.fm2-help__icon {
  display: flex;
  align-items: flex-end;
  height: 38px;
  margin-bottom: 15px;
}

.fm2-help__icon img {
  max-height: 38px;
  width: auto;
}

.fm2-help__card h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: #151644;
  margin: 0 0 8px;
}

.fm2-help__card p {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #000;
  margin: 0;
}

.fm2-help__arrow {
  position: absolute;
  left: 16px;
  bottom: 17px;
  width: 25px;
  height: 26px;
}

.fm2-help__arrow img {
  position: absolute;
  inset: 0;
  transition: opacity 0.3s ease-in-out;
}

.fm2-help__arrow-dark,
a.fm2-help__card:hover .fm2-help__arrow-light,
a.fm2-help__card:focus-visible .fm2-help__arrow-light {
  opacity: 0;
}

a.fm2-help__card:hover .fm2-help__arrow-dark,
a.fm2-help__card:focus-visible .fm2-help__arrow-dark {
  opacity: 1;
}

/* Service hero ------------------------------------------------------------ */
.fm2-service-hero {
  position: relative;
  max-width: calc(100% - 72px);
  min-height: 486px;
  margin: 36px auto 0;
  border-radius: 55px;
  overflow: hidden;
  background: #151644;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.fm2-service-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm2-service-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.fm2-service-hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 932px;
  margin: 0 auto;
  padding: 190px 20px 39px;
  text-align: center;
}

.fm2-service-hero h1 {
  font-size: 60px;
  line-height: 70px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 4px 5.8px rgba(0, 0, 0, 0.75);
  margin: 0;
}

.fm2-service-hero h1 span {
  display: block;
  font-size: 30px;
  line-height: 49px;
  margin-top: -2px;
}

.fm2-service-hero p {
  max-width: 608px;
  margin: 13px auto 0;
  font-weight: 400;
  color: #fff;
}

.fm2-service-hero__points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 40px;
  min-height: 82px;
  margin: 0;
  padding: 15px 20px;
  list-style: none;
  background: rgba(0, 0, 0, 0.5);
}

.fm2-service-hero__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  background: none;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}

/* Intro text -------------------------------------------------------------- */
.fm2-intro {
  padding: 100px 0;
}

.fm2-intro__text {
  max-width: 972px;
  margin: 0 auto;
  text-align: center;
}

.fm2-intro__text p {
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
  color: #000;
  margin: 0 0 15px;
}

.fm2-intro__text p:last-child {
  margin-bottom: 0;
}

/* Form panel -------------------------------------------------------------- */
.fm2-form-panel {
  padding: 101px 0 104px;
}

.fm2-form-panel .fm2-section-title {
  line-height: 49px;
}

.fm2-form-panel .fm2-section-text {
  margin-top: 30px;
}

.fm2-form-panel__card {
  max-width: 976px;
  margin: 50px auto 0;
  padding: 76px 87px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 4px 11.8px rgba(108, 108, 108, 0.25);
}

.fm2-form-panel__icon {
  display: block;
  height: 36px;
  width: auto;
  margin: 0 0 28px -6px;
}

.fm2-form-panel__card h3 {
  font-size: 26px;
  line-height: 30px;
  font-weight: 500;
  color: #151644;
  margin: 0;
}

.fm2-form-panel__card-text {
  font-weight: 400;
  color: #000;
  margin: 9px 0 0;
}

/* Gravity Forms inside the panel */
.fm2-form {
  margin-top: 27px;
}

.fm2-form .gform_wrapper.gravity-theme .gform_heading {
  display: none;
}

.fm2-form .gform_wrapper.gravity-theme .gf_page_steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 34px;
  padding: 4px 20px 4px 7px;
  border: 0;
  border-radius: 100px;
  background: rgba(116, 115, 168, 0.32);
}

.fm2-form .gform_wrapper.gravity-theme .gf_step {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  opacity: 1;
  color: rgba(21, 22, 68, 0.3);
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
}

.fm2-form .gform_wrapper.gravity-theme .gf_step_number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: inherit;
  font-size: 18px;
  font-weight: 500;
}

.fm2-form .gform_wrapper.gravity-theme .gf_step_active,
.fm2-form .gform_wrapper.gravity-theme .gf_step_completed {
  color: #151644;
}

.fm2-form .gform_wrapper.gravity-theme .gf_step_completed .gf_step_number:before,
.fm2-form .gform_wrapper.gravity-theme .gf_step_completed .gf_step_number:after {
  display: none;
}

.fm2-form .gform_wrapper.gravity-theme .gf_step_label {
  padding: 0;
  color: inherit;
}

/* Percentage progress bar (when the form isn't set to "steps") */
.fm2-form .gform_wrapper.gravity-theme .gf_progressbar_wrapper {
  margin-bottom: 34px;
}

.fm2-form .gform_wrapper.gravity-theme .gf_progressbar_title {
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: #151644;
  margin: 0 0 8px;
}

.fm2-form .gform_wrapper.gravity-theme .gf_progressbar {
  background: rgba(116, 115, 168, 0.32);
  border-radius: 100px;
}

.fm2-form .gform_wrapper.gravity-theme .gf_progressbar_percentage {
  background: #208bdb;
  border-radius: 100px;
}

.fm2-form .gform_wrapper.gravity-theme .gsection {
  border: 0;
  padding: 0;
  margin: 0;
}

.fm2-form .gform_wrapper.gravity-theme .gsection_title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: #151644;
}

.fm2-form .gform_wrapper.gravity-theme .gform_fields {
  row-gap: 17px;
}

.fm2-form .gform_wrapper.gravity-theme .gfield_label,
.fm2-form .gform_wrapper.gravity-theme .gform-field-label {
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  color: rgba(21, 22, 68, 0.8);
  margin: 0 0 4px;
}

.fm2-form .gform_wrapper.gravity-theme .gfield_required {
  color: inherit;
}

.fm2-form .gform_wrapper.gravity-theme input[type='text'],
.fm2-form .gform_wrapper.gravity-theme input[type='email'],
.fm2-form .gform_wrapper.gravity-theme input[type='tel'],
.fm2-form .gform_wrapper.gravity-theme input[type='number'],
.fm2-form .gform_wrapper.gravity-theme select,
.fm2-form .gform_wrapper.gravity-theme textarea {
  width: 100%;
  height: 55px;
  /* !important to beat the theme's global `.gform_wrapper .ginput_container` overrides */
  padding: 0 50px 0 22px !important;
  border: 1px solid #c8c8c8 !important;
  border-radius: 12px;
  background-color: #fff;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #151644;
  box-shadow: none;
}

.fm2-form .gform_wrapper.gravity-theme textarea {
  height: 120px;
  padding: 15px 22px !important;
}

.fm2-form .gform_wrapper.gravity-theme select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url('../images/v2/select-chevron.svg');
  background-repeat: no-repeat;
  background-position: right 19px center;
  background-size: 15px 9px;
}

.fm2-form .gform_wrapper.gravity-theme input::placeholder {
  color: #151644;
  opacity: 1;
}

.fm2-form .gform_wrapper.gravity-theme .gform_page_footer,
.fm2-form .gform_wrapper.gravity-theme .gform_footer {
  margin: 35px 0 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.fm2-form .gform_wrapper.gravity-theme .gform_next_button,
.fm2-form .gform_wrapper.gravity-theme .gform_previous_button,
.fm2-form .gform_wrapper.gravity-theme input[type='submit'] {
  min-width: 187px;
  height: 66px;
  margin: 0;
  padding: 0 50px 0 30px;
  border: 0;
  border-radius: 200px;
  background: #208bdb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='4' fill='white'/%3E%3C/svg%3E") no-repeat right 23px center;
  color: #fff;
  font-size: 15px;
  line-height: 29px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.fm2-form .gform_wrapper.gravity-theme .gform_previous_button {
  background-color: #b1e0ef;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='4' fill='%23208BDB'/%3E%3C/svg%3E");
  color: #151644;
}

.fm2-form .gform_wrapper.gravity-theme .gform_next_button:hover,
.fm2-form .gform_wrapper.gravity-theme input[type='submit']:hover {
  background-color: #151644;
}

/* Image & text rows ------------------------------------------------------- */
.fm2-rows {
  padding: 100px 0;
}

.fm2-rows .fm2-container {
  max-width: 1103px;
}

.fm2-rows .fm2-section-title {
  margin-bottom: 100px;
}

.fm2-rows__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px 117px;
}

.fm2-rows__row + .fm2-rows__row {
  margin-top: 50px;
}

.fm2-rows__row:nth-of-type(even) .fm2-rows__image {
  order: -1;
}

.fm2-rows__text {
  max-width: 471px;
}

.fm2-rows__text h3 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: #151644;
  margin: 0 0 13px;
}

.fm2-rows__text p {
  font-weight: 300;
  color: #000;
  margin: 0 0 15px;
}

.fm2-rows__text p:last-child {
  margin-bottom: 0;
}

.fm2-rows__image img {
  display: block;
  width: 100%;
  aspect-ratio: 473 / 274;
  object-fit: cover;
  border-radius: 35px;
}

/* Content list ------------------------------------------------------------ */
.fm2-list {
  padding: 100px 0 111px;
}

.fm2-list .fm2-container {
  max-width: 1103px;
}

.fm2-list h2 {
  font-size: 40px;
  line-height: 40px;
  font-weight: 500;
  color: #151644;
  margin: 0 0 50px;
}

.fm2-list__item + .fm2-list__item {
  margin-top: 50px;
}

.fm2-list__item h3 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: #151644;
  margin: 0 0 13px;
}

.fm2-list__item p {
  max-width: 1031px;
  font-weight: 300;
  color: #000;
  margin: 0 0 15px;
}

.fm2-list__item p:last-child {
  margin-bottom: 0;
}

/* Feature columns --------------------------------------------------------- */
.fm2-features {
  padding: 100px 0 150px;
}

.fm2-features .fm2-container {
  max-width: 1155px;
}

.fm2-features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 60px;
  margin-top: 59px;
}

.fm2-features__icon {
  height: 50px;
  margin-bottom: 33px;
}

.fm2-features__icon img {
  max-height: 50px;
  width: auto;
}

.fm2-features__item h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: #151644;
  margin: 0 0 10px;
}

.fm2-features__item p {
  font-weight: 300;
  color: #000;
  margin: 0;
}

/* Responsive -------------------------------------------------------------- */
@media screen and (max-width: 1280px) {
  .fm2-help__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fm2-home-hero {
    max-width: calc(100% - 40px);
    margin-top: 20px;
  }

  .fm2-home-hero__inner {
    padding: 0 50px 45px;
  }
}

@media screen and (max-width: 991px) {
  .fm2-service-hero {
    max-width: calc(100% - 40px);
    margin-top: 20px;
    border-radius: 35px;
  }

  /* Matches the original home banner: full width, bottom corners rounded */
  .fm2-home-hero {
    max-width: 100%;
    height: auto;
    min-height: 600px;
    margin-top: 0;
    border-radius: 0 0 20px 20px;
  }

  .fm2-home-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 600px;
    padding: 160px 30px 35px;
  }

  .fm2-home-hero h1 {
    font-size: 52px;
    line-height: 52px;
  }

  .fm2-home-hero p {
    font-size: 20px;
    line-height: 26px;
  }

  .fm2-service-hero__content {
    padding-top: 160px;
  }

  .fm2-service-hero h1 {
    font-size: 44px;
    line-height: 52px;
  }

  .fm2-service-hero h1 span {
    font-size: 24px;
    line-height: 36px;
  }

  .fm2-service-hero__points {
    gap: 10px 24px;
  }

  .fm2-service-hero__points li {
    font-size: 17px;
  }

  .fm2-section-title,
  .fm2-help__title,
  .fm2-list h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .fm2-help__title {
    margin-bottom: 30px;
  }

  .fm2-form-panel__card {
    padding: 50px 40px;
  }

  .fm2-rows__row {
    gap: 40px 50px;
  }

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

  .fm2-intro,
  .fm2-rows,
  .fm2-form-panel,
  .fm2-list {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .fm2-rows .fm2-section-title {
    margin-bottom: 60px;
  }

  .fm2-features {
    padding: 70px 0 100px;
  }
}

@media screen and (max-width: 767px) {
  .fm2-service-hero {
    max-width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 25px;
  }

  .fm2-home-hero,
  .fm2-home-hero__inner {
    min-height: 560px;
  }

  .fm2-home-hero__inner {
    padding: 140px 20px 25px;
    gap: 24px;
  }

  .fm2-home-hero h1 {
    font-size: 40px;
    line-height: 42px;
  }

  .fm2-home-hero p {
    font-size: 18px;
    line-height: 24px;
  }

  .fm2-btn {
    padding: 14px 44px 13px 20px;
  }

  .fm2-btn:after {
    right: 25px;
  }

  .fm2-help {
    padding: 40px 0 70px;
  }

  .fm2-help__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .fm2-help__card {
    min-height: 190px;
  }

  .fm2-help__card h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .fm2-service-hero__content {
    padding: 130px 20px 30px;
  }

  .fm2-service-hero h1 {
    font-size: 34px;
    line-height: 40px;
  }

  .fm2-service-hero h1 span {
    font-size: 20px;
    line-height: 30px;
    margin-top: 6px;
  }

  .fm2-service-hero__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: start;
    gap: 10px 16px;
    padding: 18px 20px;
  }

  .fm2-service-hero__points li {
    font-size: 15px;
    line-height: 22px;
    gap: 8px;
  }

  .fm2-service-hero__points li img {
    width: 20px;
    height: 20px;
  }

  .fm2-section-title,
  .fm2-help__title,
  .fm2-list h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .fm2-help__title {
    line-height: 34px;
  }

  .fm2-intro {
    padding: 50px 0;
  }

  .fm2-intro__text p {
    font-size: 16px;
    line-height: 24px;
  }

  .fm2-form-panel {
    padding: 50px 0;
  }

  .fm2-form-panel__card {
    margin-top: 30px;
    padding: 35px 20px;
    border-radius: 20px;
  }

  .fm2-form .gform_wrapper.gravity-theme .gf_page_steps {
    padding: 4px;
  }

  .fm2-form .gform_wrapper.gravity-theme .gf_step_label {
    display: none;
  }

  .fm2-form .gform_wrapper.gravity-theme .gf_step_active .gf_step_label {
    display: block;
  }

  .fm2-rows,
  .fm2-list {
    padding: 50px 0;
  }

  .fm2-rows .fm2-section-title {
    margin-bottom: 40px;
  }

  .fm2-rows__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fm2-rows__row + .fm2-rows__row {
    margin-top: 40px;
  }

  .fm2-rows__row .fm2-rows__image {
    order: -1;
  }

  .fm2-rows__image img {
    border-radius: 25px;
  }

  .fm2-list h2 {
    margin-bottom: 30px;
  }

  .fm2-list__item + .fm2-list__item {
    margin-top: 30px;
  }

  .fm2-features {
    padding: 50px 0 70px;
  }

  .fm2-features__grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .fm2-features__icon {
    margin-bottom: 20px;
  }
}

@media (max-width: 420px) {
  .fm2-help__grid {
    grid-template-columns: 1fr;
  }

  .fm2-help__card {
    min-height: 0;
  }
}
