/* Custom styles */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.nav-link {
  color: #6c757d;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #474cff;
}

/* Card dimensions */
.card {
  width: 272px !important;
  height: 350px !important;
  margin: 0 auto;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ededed;
  border-radius: 1rem;
}

.card_title {
  background: #ededed;
  width: 270px !important;
  margin-left: -24px !important;
  z-index: 0;
  margin-top: -24px !important;
  height: 76px;
  padding-top: 17px;
  border-top-right-radius: 13px;
  border-top-left-radius: 13px;
}

.card_title_pempresa {
  background: #fff;
  width: 270px !important;
  z-index: 0;
  margin-top: -24px !important;
  height: 76px;
  padding-top: 17px;
  border-top-right-radius: 13px;
  border-top-left-radius: 13px;
  margin-left: 5%;
}
.card_title_pempresa {
  display: block;
  max-width: 200px; /* Ajusta según sea necesario */
  white-space: normal;
  text-align: center;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.btn-primary {
  padding: 0.25rem 1.5rem;
}

.dropdown-item.active {
  background-color: #474cff;
  color: white;
}
.text-secondary {
  font-size: 13px;
}
.text-center {
  font-size: 30px;
}

.underline {
  position: relative;
  display: inline-block;
}

.underline::after {
  content: "";
  position: absolute;
  left: 0; /* La línea comienza al inicio de "Informes" */
  bottom: -5px; /* Ajusta la distancia de la línea */
  width: 70px;
  height: 4px;
  background-color: #474cff; /* Cambia el color si es necesario */
}
/* Footer styles */
footer {
  margin-top: auto;
}

.nav-link {
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: 14px;
  font-weight: 500; /* Un poco más grueso */
  color: var(--bs-nav-link-color);
  text-decoration: none;
  background: 0 0;
  border: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

.bg-dark {
  background-color: #16194e !important;
}

.fs-3 {
  font-size: 1.35rem !important;
}

.valor {
  font-size: 2.5rem !important;
}

.txt-packpyme {
  font-weight: normal;
  line-height: 1;
}

/*estilos para decoracion de menu superior*/
.navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s;
}

/* Agregar la línea azul debajo de todos los items excepto el de idioma */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #474cff; /* Azul Bootstrap */
  transition: width 0.3s ease;
}
.dropdown-menu {
  --bs-dropdown-zindex: 1000;
  --bs-dropdown-min-width: 5rem !important;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
  width: 100%;
}

.nav-link {
  transition: font-weight 0.3s; /* Agregar transición para suavizar el cambio */
}

.nav-link:hover {
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.3px; /* Separación ligera */
}

.diagonal-strike {
  position: relative;
  display: inline-block;
  padding-top: 10px;
  font-size: 19px;
  font-weight: bold;
}

.diagonal-strike::after {
  content: "";
  position: absolute;
  left: 70px;
  top: 77%;
  width: 40%;
  height: 2px;
  background-color: red;
  transform: rotate(351deg);
  transform-origin: left center;
  pointer-events: none;
}

.color-subtiulo {
  color: #706f6f;
}
.text-valor {
  font-size: 2.2rem !important;
}

.form-control-lg {
  border: 0.125em solid #474cff;
}
.caja-footer {
  padding-left: 12px;
  width: 20%;
  border: 1px solid #fff;
}
.rounded-circle {
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  padding-top: 0.125rem !important;
  border: 2px solid #fff !important;
}
p {
  margin-top: 0;
  margin-bottom: 0rem;
}

.fondo-cab {
  background-image: url("../image/head_cabquienes.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 8px solid #474cff;
}
.decorativo-cab {
  width: 170px;
  height: 8px;
  background-color: #474cff;
  border-radius: 4px;
}
.decorativo-cab_contacto {
  width: 180px;
  height: 8px;
  background-color: #474cff;
  border-radius: 4px;
}

/*footer responsiivo*/
/* Logo */
.logo-footer {
  max-width: 230px;
}

/* Imagen Webpay */
.webpay-img {
  max-width: 150px;
}

.img-center {
  text-align: center !important;
}
/* Íconos sociales */
footer .rounded-circle {
  transition: background-color 0.3s ease, transform 0.3s ease;
}
footer .rounded-circle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}
.text-white-50 {
  --bs-text-opacity: 1;
  color: rgb(255 255 255) !important;
}

/*QUIENES SOMOS*/
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
}

.content-wrapper {
  display: flex;
  gap: 4rem;
  /* align-items: center;*/
}

.text-content {
  flex: 1;
}

.title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.blue-square {
  width: 24px;
  height: 24px;
  background-color: #474cff;
}

h1 {
  font-size: 2.5rem;
  margin: 0;
}

/*texto azul de titulso con negrita*/
.blue-text {
  color: #474cff;
  font-weight: 600;
}

h2 {
  font-size: 2rem;
  color: #4b5563;
  line-height: 1.2;
}

.image-content {
  flex: 1;
  position: relative;
}

.quienes-image {
  width: 80%;
  height: auto;
  border-radius: 1rem;
  position: relative;
  z-index: 1;
}

.blue-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  background-color: #474cff;
  border-radius: 1rem;
  z-index: 0;
}

/*BENEFICIOS SOLUCIONES EMPRESAS*/
.onboarding {
  max-width: 1060px;
  margin-bottom: 0rem;
}

.benefit-box {
  border: 2px solid #474cff;
  border-radius: 10px;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.number-circle {
  position: absolute;
  top: 28px;
  left: -18px;
  background-color: #474cff;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight {
  color: #474cff;
  font-weight: bold;
}

.benefit-box h5 {
  margin-bottom: 1rem;
}

.benefit-box p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #333;
}

/*PREGUNTAS FRECUENTES*/
.faq-list {
  list-style: none;
  padding-left: 0;
}

.faq-list li {
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

.faq-number {
  color: #474cff;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  margin-left: -1px;
}

.faq-list li strong {
  font-weight: bold;
  display: block;
  margin-bottom: 0.3rem;
  color: #16194e;
}

.faq-list li a {
  color: #474cff;
  text-decoration: none;
}

.faq-list li a:hover {
  text-decoration: underline;
}

/*MMODALESS*/
.custom-modal-width {
  max-width: 70%;
  /* margin-top: min(12vh, 80px); /* Usa el menor valor entre 20% de la pantalla o 80px */
}

/* Franja azul decorativa */
.blue-square {
  width: 20px;
  height: 20px;
  background-color: #474cff;
}

/* Texto azul */
.blue-text {
  color: #474cff;
}

.blue-dark {
  color: #101a4c;
}

/*MODALES*/
.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.custom-list .icon-list {
  color: #474cff;
  margin-right: 10px;
  width: 20px;
  height: 18px;
}
.decorativo-cabmodal {
  width: 80px;
  height: 4px;
  background-color: #474cff;
  border-radius: 4px;
}

.modal-header {
  background-color: #16194e;
}

.logo-modal {
  margin-left: 45px;
}

.btn-modal {
  font-size: 1.3rem;
  padding-right: 3.5rem !important;
  padding-left: 3.5rem !important;
}
.boder-inf-modal {
  border-bottom: 10px solid #474cff;
}

/*COLORES BOTONES Y FOOTER*/

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #474cff;
  --bs-btn-border-color: #474cff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #474cff;
  --bs-btn-hover-border-color: #474cff;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #474cff;
  --bs-btn-active-border-color: #474cff;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #474cff;
  --bs-btn-disabled-border-color: #474cff;
}

.line-footer {
  background-color: #474cff;
  height: 45px;
  display: flex;
  align-items: center;
}

.text-planes {
  color: #474cff;
}
.text-primary {
  --bs-text-opacity: 1;
  color: #474cff !important;
}

/*ESSTILO login*/

.box-form {
  width: 90%; /* se adapta al ancho del viewport */
  max-width: 620px; /* pero no supera los 620px */
  height: auto;
  margin: 0 auto;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ededed;
  border-radius: 1rem;
}
.box-form-informes {
  width: auto;
  height: auto;
  margin: 0 auto;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ededed;
  border-radius: 1rem;
}
.form:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/*ESTIULO FORMULARIOS */
form {
  margin: 30px;
}
.d-md-flex {
  display: flex !important;
  align-content: flex-start;
  flex-wrap: wrap;
}

.fomr-txt-sub {
  color: #474cff;
  font-size: 1.6rem;
  font-weight: 600;
}
.form-fondo-izq {
  background-color: #16194e;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.form-logo-webpay {
  max-width: 250px;
  margin-top: 30px;
}

.fomr-txt-validar {
  color: #474cff;
  font-weight: bold;
  text-decoration: none !important;
}

.fomr-txt-validar a {
  text-decoration: none !important;
}

.fomr-txt-terminos {
  color: #16194e;
  font-weight: bold;
  font-size: 16px;
}

.form-footer {
  background-color: #474cff;
  height: 45px;
  display: flex;
  align-items: center;
}

/*FORMULARIO VALIDAR INDENTIDAD*/
.stepper-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 20px 0;
  gap: 10px;
}

.step {
  flex: 1 1 0;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: #ccc;
  z-index: 0;
}

.icon-list {
  width: 48px;
  height: 48px;
  object-fit: contain;
  z-index: 1;
}

.step-label {
  margin-top: 8px;
  font-size: 14px;
  color: #777;
  word-break: break-word;
}

.circle {
  z-index: 4;
}
/* Paso activo */
.step.active .step-label {
  color: #474cff;
  font-weight: bold;
}

/* Opcional para dar color al icono activo si quieres */
.step.active img {
  filter: brightness(1.2);
}

/*tabla pago informe*/
table.custom-table {
  width: 90%; /* Ajusta el ancho si quieres más o menos */
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #474cff;
  border-radius: 15px;
  overflow: hidden;
  font-size: 15px;
}
table.custom-table th {
  padding: 12px;
  text-align: center;
}
table.custom-table thead {
  background-color: #f8f9fa;
}

table.custom-table td {
  padding: 5px;
  text-align: left;
}
table.custom-table th {
  font-weight: bold;
}
.custom-table td:first-child {
  font-weight: bold;
}
.custom-table {
  width: 100%;
  border-collapse: collapse; /* Une los bordes */
}

.custom-table th,
.custom-table td {
  border: 1px solid #cccccc65; /* Color del borde */
  padding: 8px; /* Espacio interno */
  text-align: left; /* Alineación opcional */
}

.custom-table td:first-child {
  font-weight: bold; /* El primer td de cada fila en negrita */
}

/*ESTILO SLISTA POLITICAS Y PRIVACIDAD*/

.pol-number {
  color: #474cff;
  font-weight: bold;
}
.pol-titulo {
  font-weight: bold;
  display: block;
  margin-bottom: 0.3rem;
  color: #16194e;
}
.lista-pol {
  list-style-position: outside; /* Asegura que el bullet esté fuera del bloque de texto */
  padding-left: 20px; /* Ajusta el margen izquierdo para el texto */
}

.lista-pol li {
  text-indent: -20px; /* Alinea el texto con el bullet */
  margin-left: 20px; /* Mantiene el espacio entre el bullet y el texto */
}

.lista-pol li::marker {
  color: #474cff; /* Color del bullet */
}

.lista-pol li {
  margin-bottom: 10px;
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
}

/* link cajas home*/
.contacto a {
  color: #ffffff;
  text-decoration: none;
}
.contacto a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.home a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.home a:hover {
  color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
  text-decoration: underline;
}

.home .btn-primary {
  padding: 0.45rem 1.5rem;
}

.home .text-secondary {
  --bs-text-opacity: 1;
  color: rgb(0 0 0) !important;
  font-weight: bold;
}

/* Print styles */
@media print {
  .hero-slider,
  .slider-btn,
  button {
    display: none;
  }

  .container {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  a {
    text-decoration: none;
  }
}

/*CSS RESPONSIVOS*/

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }

  .image-content {
    order: -1;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
  .card {
    width: 100% !important;
    max-width: 272px;
  }

  .carousel-caption {
    padding: 0 5%;
    text-align: center;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 1280px) {
  #heroSlider,
  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    width: 100%;
  }

  .carousel-item {
    height: auto;
    aspect-ratio: 1280/300;
  }
}

/* Responsive ajustes */
@media (max-width: 767.98px) {
  .logo-col {
    text-align: center;
  }

  .logo-col img {
    margin: 0 auto;
  }

  .social-row {
    justify-content: center !important;
    flex-wrap: wrap;
  }

  .webpay-img {
    margin: 0 auto;
    display: block;
  }

  .row-cols-lg-5 .col {
    text-align: center;
  }
  .carousel-control-next-icon {
    display: none;
  }
  .carousel-control-prev-icon {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .logo-col {
    text-align: center;
  }

  .row-cols-lg-5 .col {
    text-align: center;
  }
}

@media (min-width: 992px) {
  .social-row {
    justify-content: flex-end !important;
  }
}

/*texto banners*/
.bnn1,
.bnn2,
.bnn3,
.bnn4 {
  position: absolute;
  top: 20%;
  z-index: 10;
  color: white;
}

.bnn1,
.bnn2 {
  width: clamp(260px, 40vw, 750px); /* Ancho mínimo, fluido y máximo */
  transform: translateX(-50%);
  left: 35%;
  padding: 0 1rem;
}

.bnn2 {
  left: 65%;
  width: clamp(260px, 45vw, 850px); /* Ancho mínimo, fluido y máximo */
}
.bnn1,
.bnn2 {
  text-align: center; /* Centrado de texto */
}
.underline-bar {
  width: 80px;
  height: 4px;
  background-color: #3478ff;
  margin-top: 1rem;
  border-radius: 2px;
}
.carousel-caption h1 {
  font-size: clamp(
    0.95rem,
    2.5vw,
    3.5rem
  ); /* Escala entre 1.5rem y 3.5rem según ancho de pantalla */
  line-height: 1.2;
}
.carousel-caption {
  padding-right: 2rem;
  padding-left: 2rem;
}
.center-img {
  display: block;
  margin: 0 auto;
}

.modal-dialog {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
.content-wrapper .text-content {
  margin-top: 62px;
}
