/* Portada MELILLA.PRO basada en la referencia aprobada. */

.home-page-body {
  background: #fff;
}

/* Mantiene visible el contenido incluso antes de activar las animaciones al hacer scroll. */
.home-page-body .wow,
.home-page-body .wow *,
.home-page-body .tg-heading-subheading,
.home-page-body .tg-heading-subheading *,
.home-page-body .slider-custom-anim-left,
.home-page-body .slider-custom-anim-left * {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.home-page-body .mp-home-kicker {
  margin: 0 0 10px;
  color: var(--accent-color);
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.mp-home-hero {
  padding: 104px 0 30px !important;
  overflow: hidden;
  background: #fff;
}

.mp-home-hero .row {
  align-items: center;
}

.mp-home-hero .hero-v8 {
  max-width: 720px;
  padding-right: 34px;
}

.mp-home-hero .hero-v8 h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 4.2vw, 68px) !important;
  line-height: .98;
  letter-spacing: -3.2px;
}

.mp-home-hero .hero-v8 h1 span {
  color: var(--accent-color);
}

.mp-home-hero .hero-v8 > p:not(.mp-home-kicker) {
  max-width: 650px;
  margin: 0;
  color: #555e6d;
  font-size: 16px;
  line-height: 1.55;
}

.mp-home-hero .sofax-hero-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.mp-home-hero .sofax-hero-btn-wrap .sofax-default-btn {
  min-width: 180px;
  padding: 13px 24px;
  font-size: 14px;
}

.mp-home-hero .sofax-hero-btn-wrap .dark-btn {
  color: #0e0e0e !important;
  border: 1px solid #bdc7d6;
  background: #fff;
}

.mp-home-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}

.mp-home-trust-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #273044;
  font-size: 12px;
  font-weight: 700;
}

.mp-home-trust-points i {
  color: var(--accent-color);
  font-size: 15px;
}

.mp-home-hero .sofax-hero-thumb8 {
  max-width: 570px;
  margin-left: auto;
}

.mp-home-hero .sofax-hero-thumb8 > img {
  width: 100%;
  height: 465px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.mp-home-pillars {
  position: relative;
  z-index: 2;
  padding: 0 0 58px;
  background: #fff;
}

.mp-home-pillars .features-vr8 {
  min-height: 142px;
  height: 100%;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0;
  padding: 24px;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 38, 75, .07);
}

.mp-home-pillars .sofax-iconbox-icon2 img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.mp-home-pillars .sofax-iconbox-icon2 i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 34px;
}

.mp-home-pillars h4 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.2;
}

.mp-home-pillars p {
  margin: 0;
  color: #626b78;
  font-size: 14px;
  line-height: 1.5;
}

.mp-home-about {
  margin: 0 !important;
  padding: 66px 0 !important;
  background: #f7f9fc !important;
}

.mp-home-about .row {
  align-items: center;
}

.mp-home-about .sofax-about-thumbv8 img {
  width: 100%;
  height: 385px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.mp-home-about .sofax-default-content {
  padding-left: 22px;
  text-align: left;
}

.mp-home-about .sofax-default-content h2,
.mp-home-services .sofax-section-title h2,
.mp-home-simplify .sofax-default-content h2,
.mp-home-capabilities .sofax-section-title h2,
.mp-home-trust .sofax-section-title h2 {
  margin: 0 0 14px;
  font-size: clamp(38px, 3.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -2.3px;
}

.mp-home-about .sofax-default-content > p:last-child {
  color: #5e6775;
  font-size: 15px;
  line-height: 1.55;
}

.mp-home-about .sofax-about-content-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  padding-left: 22px;
}

.mp-home-about .sofax-iconbox-wrap2 {
  display: block;
  margin: 0;
}

.mp-home-about .sofax-iconbox-icon2 {
  margin-bottom: 12px;
}

.mp-home-about .sofax-iconbox-icon2 img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mp-home-about .sofax-iconbox-icon2 i {
  color: var(--accent-color);
  font-size: 29px;
}

.mp-home-about .aboutv8 h4 {
  margin: 0 0 6px !important;
  font-size: 15px;
  line-height: 1.25;
}

.mp-home-about .aboutv8 p {
  margin: 0;
  color: #69717d;
  font-size: 12px;
  line-height: 1.45;
}

.mp-home-process {
  padding: 48px 0 !important;
  background-color: #06101f !important;
  background-image: url("../images/services/services-hero.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.mp-home-process .sofax-counter-wrap {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
}

.mp-home-process .border-right3,
.mp-home-process .border-right4 {
  display: none;
}

.mp-home-process .counterv8 {
  padding: 0;
  text-align: center;
}

.mp-home-process .counterv8:first-child {
  text-align: left;
}

.mp-home-process .counterv8:first-child h2 {
  max-width: 330px;
  color: #fff;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -1.8px;
}

.mp-home-process .mp-home-step-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-color);
  font-size: 17px;
  line-height: 1;
}

.mp-home-process .counterv8 > h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.mp-home-process .counterv8 small {
  display: block;
  max-width: 180px;
  margin: 0 auto;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.45;
}

.mp-home-services {
  padding: 64px 0 70px !important;
  background: #f7f9fc !important;
}

.mp-home-services .sofax-section-title {
  max-width: 920px;
  margin: 0 auto 34px;
}

.mp-home-services .sofax-section-title h2 {
  margin-bottom: 9px;
}

.mp-home-services .sofax-section-title > p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: #626b78;
  font-size: 14px;
  line-height: 1.5;
}

.mp-home-services .sofax-features-wrapv8 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 18px;
}

.mp-home-services .sofax-features-boxv8 {
  min-height: 160px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0;
  padding: 24px;
  border: 1px solid #e2e7ef;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 38, 75, .045);
}

.mp-home-services .sofax-features-iconv7 img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.mp-home-services .sofax-features-iconv7 i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 34px;
}

.mp-home-services .sofax-features-contentv7 h4 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.25;
}

.mp-home-services .sofax-features-contentv7 p {
  margin: 0;
  color: #626b78;
  font-size: 13px;
  line-height: 1.5;
}

.mp-home-simplify {
  padding: 68px 0 !important;
}

.mp-home-simplify .row {
  align-items: center;
}

.mp-home-simplify .sofax-default-content {
  max-width: 610px;
}

.mp-home-simplify .sofax-default-content > p:not(.mp-home-kicker) {
  max-width: 560px;
  color: #5f6875;
  font-size: 15px;
  line-height: 1.55;
}

.mp-home-simplify .sofax-content-thumbv8 {
  margin-left: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.mp-home-simplify .sofax-content-thumbv8 > img {
  width: 100%;
  height: 380px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.mp-home-simplify .sofax-list-icon-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin-top: 22px;
}

.mp-home-simplify .sofax-list-icon-icon li {
  margin-bottom: 10px;
  color: #253044;
  font-size: 13px;
  font-weight: 700;
}

.mp-home-simplify .sofax-list-icon-icon li img {
  width: 19px;
  margin-right: 8px;
}

.mp-home-simplify .sofax-title-btn {
  margin-top: 22px;
}

.mp-home-simplify .sofax-default-btn {
  padding: 13px 26px;
  font-size: 14px;
}

.mp-home-capabilities {
  padding: 64px 0 70px !important;
  background: #f7f9fc;
}

.mp-home-capabilities .sofax-section-title {
  margin-bottom: 28px;
}

.mp-home-capabilities .sofax-title-btn .sofax-default-btn {
  padding: 13px 24px;
  font-size: 14px;
}

.mp-home-capabilities .sofax-testimonial-itemv8 {
  margin-bottom: 18px;
}

.mp-home-capabilities .sofax-testimonial-thumbv8 {
  min-height: 150px;
  border-radius: 8px;
}

.mp-home-capabilities .sofax-testimonial-thumbv8 > img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.mp-home-capabilities .sofax-testimonial-btnv8 {
  inset: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-content: center;
  padding: 20px;
  text-align: left;
  background: rgba(2, 7, 17, .7);
  transform: none !important;
}

.mp-home-capabilities .sofax-testimonial-btnv8 > i {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  color: #fff;
  font-size: 30px;
}

.mp-home-capabilities .sofax-testimonial-btnv8 h4 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: 2px;
  color: #fff;
  font-size: 17px;
}

.mp-home-capabilities .sofax-testimonial-btnv8 p {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 12px;
}

.mp-home-capabilities .sofax-testimonial-btnv8 .right-icon-btn {
  position: static;
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
}

.mp-home-trust {
  padding: 62px 0 68px !important;
  background: #fff !important;
}

.mp-home-trust .sofax-section-title {
  margin-bottom: 32px;
}

.mp-home-trust .sofax-iconbox-wrap {
  min-height: 235px;
  height: 100%;
  margin: 0;
  padding: 26px;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 38, 75, .05);
}

.mp-home-trust-card {
  min-height: 205px;
  height: 100%;
  padding: 26px;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 38, 75, .05);
}

.mp-home-trust-card > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--accent-color);
  background: #eaf2ff;
  font-size: 17px;
}

.mp-home-trust-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.35px;
}

.mp-home-trust-card p {
  margin: 0;
  color: #5d6674;
  font-size: 13px;
  line-height: 1.5;
}

.mp-home-trust .sofax-iconbox-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.mp-home-trust .testimonial-vr8 p {
  margin: 18px 0 22px;
  color: #505a69;
  font-size: 14px;
  line-height: 1.55;
}

.mp-home-trust .sofax-testimonial-authore-data h5 {
  font-size: 16px;
}

.mp-home-trust .sofax-testimonial-authore-data p {
  font-size: 12px;
}

@media (min-width: 992px) {
  .mp-home-trust {
    padding: 36px 0 30px !important;
  }

  .mp-home-trust .sofax-section-title {
    margin-bottom: 24px;
    padding-bottom: 0 !important;
  }

  .home-page-body .sofax-footer-top {
    padding-top: 60px;
  }
}

@media (max-width: 1199px) {
  .mp-home-hero .hero-v8 h1 {
    font-size: 54px !important;
  }

  .mp-home-about .sofax-about-content-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-home-process .sofax-counter-wrap {
    gap: 22px;
  }
}

@media (max-width: 991px) {
  .mp-home-hero {
    padding-top: 94px !important;
  }

  .mp-home-hero .hero-v8 {
    max-width: none;
    padding-right: 0;
    text-align: center;
  }

  .mp-home-hero .hero-v8 > p:not(.mp-home-kicker) {
    margin-right: auto;
    margin-left: auto;
  }

  .mp-home-hero .sofax-hero-btn-wrap,
  .mp-home-trust-points {
    justify-content: center;
  }

  .mp-home-hero .sofax-hero-thumb8 {
    max-width: 650px;
    margin: 38px auto 0;
  }

  .mp-home-hero .sofax-hero-thumb8 > img {
    height: 430px;
  }

  .mp-home-pillars .col-lg-4:not(:last-child) {
    margin-bottom: 16px;
  }

  .mp-home-about .sofax-about-thumbv8 {
    margin-bottom: 34px;
  }

  .mp-home-about .sofax-default-content,
  .mp-home-about .sofax-about-content-wrap {
    padding-left: 0;
  }

  .mp-home-process .sofax-counter-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mp-home-process .counterv8:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .mp-home-process .counterv8:first-child h2 {
    margin: 0 auto;
  }

  .mp-home-services .sofax-features-wrapv8 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-home-simplify .sofax-content-thumbv8 {
    margin: 0 0 34px;
  }

  .mp-home-capabilities .sofax-section-title {
    text-align: left;
  }

  .mp-home-trust .col-xl-4:not(:last-child) {
    margin-bottom: 18px;
  }
}

@media (max-width: 767px) {
  .home-page-body .mp-home-kicker {
    font-size: 10px !important;
    letter-spacing: 1.35px;
  }

  .mp-home-hero {
    padding: 82px 0 28px !important;
  }

  .mp-home-hero .hero-v8 h1 {
    font-size: 42px !important;
    letter-spacing: -2px;
  }

  .mp-home-hero .hero-v8 > p:not(.mp-home-kicker) {
    font-size: 15px;
  }

  .mp-home-hero .sofax-hero-btn-wrap {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mp-home-hero .sofax-hero-btn-wrap .sofax-default-btn {
    width: 100%;
  }

  .mp-home-trust-points {
    gap: 11px 18px;
  }

  .mp-home-hero .sofax-hero-thumb8 > img {
    height: 330px;
  }

  .mp-home-pillars {
    padding-bottom: 44px;
  }

  .mp-home-about,
  .mp-home-services,
  .mp-home-simplify,
  .mp-home-capabilities,
  .mp-home-trust {
    padding-top: 48px !important;
    padding-bottom: 52px !important;
  }

  .mp-home-about .sofax-about-thumbv8 img,
  .mp-home-simplify .sofax-content-thumbv8 > img {
    height: 300px;
  }

  .mp-home-about .sofax-default-content h2,
  .mp-home-services .sofax-section-title h2,
  .mp-home-simplify .sofax-default-content h2,
  .mp-home-capabilities .sofax-section-title h2,
  .mp-home-trust .sofax-section-title h2 {
    font-size: 34px;
    letter-spacing: -1.45px;
  }

  .mp-home-about .sofax-about-content-wrap,
  .mp-home-services .sofax-features-wrapv8,
  .mp-home-process .sofax-counter-wrap {
    grid-template-columns: 1fr;
  }

  .mp-home-about .sofax-about-content-wrap {
    gap: 22px;
  }

  .mp-home-process {
    padding: 44px 0 !important;
  }

  .mp-home-process .counterv8:first-child {
    grid-column: auto;
  }

  .mp-home-process .counterv8:first-child h2 {
    font-size: 34px;
  }

  .mp-home-process .counterv8:not(:first-child) {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(0,0,0,.18);
  }

  .mp-home-services .sofax-features-boxv8 {
    min-height: 0;
  }

  .mp-home-simplify .sofax-list-icon-wrap {
    grid-template-columns: 1fr;
  }

  .mp-home-capabilities .sofax-title-btn {
    margin-top: 18px;
  }

  .mp-home-capabilities .sofax-title-btn .sofax-default-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .mp-home-hero .hero-v8 h1 {
    font-size: 38px;
  }

  .mp-home-hero .sofax-hero-thumb8 > img,
  .mp-home-about .sofax-about-thumbv8 img,
  .mp-home-simplify .sofax-content-thumbv8 > img {
    height: 270px;
  }

  .mp-home-pillars .features-vr8,
  .mp-home-services .sofax-features-boxv8 {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 20px;
  }
}
