/* RAMSEM / Mensajería Perú Express - Lote 13
   Escala visual uniforme para las páginas comerciales internas.
   No modifica Inicio, Logística Pro ni aplicaciones internas. */

body.mpe-internal-menu:not(.mpe-logistica-page) {
  overflow-x: clip;
}
body.mpe-internal-menu:not(.mpe-logistica-page) .rs-breadcrumbs .content-part {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
body.mpe-internal-menu:not(.mpe-logistica-page) .rs-breadcrumbs .breadcrumbs-title {
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.19;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
body.mpe-internal-menu:not(.mpe-logistica-page) .rs-breadcrumbs .content-part > p {
  max-width: 760px !important;
  margin-inline: auto !important;
  font-size: 16px;
  line-height: 1.65;
}
body.mpe-internal-menu:not(.mpe-logistica-page) .rs-services .service-wrap,
body.mpe-internal-menu:not(.mpe-logistica-page) .rs-services .services-item {
  transition: box-shadow .2s ease, transform .2s ease;
}
body.mpe-internal-menu:not(.mpe-logistica-page) :where(.readon, .readon2, .btn, button) {
  -webkit-tap-highlight-color: transparent;
}
body.mpe-internal-menu:not(.mpe-logistica-page) :where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #ffb000 !important;
  outline-offset: 3px;
}

@media (max-width: 991px) {
  /* Header móvil uniforme; sin tocar el menú de escritorio */
  body.mpe-internal-menu:not(.mpe-logistica-page) .full-width-header .rs-header .menu-area .logo-area {
    height: auto !important;
    line-height: normal !important;
    max-width: 180px;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .full-width-header .rs-header .menu-area .logo-area img {
    display: block;
    max-width: 100%;
    width: auto;
    max-height: 44px;
    height: auto;
    object-fit: contain;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-breadcrumbs .content-part {
    padding-top: 66px !important;
    padding-bottom: 68px !important;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-breadcrumbs .breadcrumbs-title {
    font-size: clamp(26px, 5vw, 34px);
    line-height: 1.22;
    margin-bottom: 14px !important;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-breadcrumbs .content-part > p {
    font-size: 15px;
    line-height: 1.65;
    padding-inline: 4px;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-services.single .row > [class*="col-"] {
    min-width: 0;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-services.single img,
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-about img {
    max-width: 100%;
    height: auto;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .sec-title .title,
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-services.single h2 {
    font-size: clamp(24px, 4.2vw, 30px);
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) :where(.readon, .readon2) {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}
@media (max-width: 575px) {
  body.mpe-internal-menu:not(.mpe-logistica-page) .full-width-header .rs-header .menu-area .logo-area {
    max-width: 158px;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-breadcrumbs .content-part {
    padding-top: 49px !important;
    padding-bottom: 53px !important;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-breadcrumbs .breadcrumbs-title {
    font-size: clamp(24px, 7.5vw, 29px);
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-breadcrumbs .content-part > p {
    font-size: 14px;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-services.single .service-wrap {
    max-width: 100%;
  }
  body.mpe-internal-menu:not(.mpe-logistica-page) :where(h1,h2,h3,p) {
    overflow-wrap: break-word;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-services .service-wrap,
  body.mpe-internal-menu:not(.mpe-logistica-page) .rs-services .services-item {transition: none;}
}
