@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Sora:wght@100;200;300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");

/* Prevenir desbordamiento horizontal en móviles */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
}

/* Asegurar que todo el contenido respete el ancho de la ventana */
.container,
.row,
.mil-top-panel-content,
.mil-banner,
.mil-background-grid,
.carrusel-infinito,
.elementos-grid,
.opciones-secundarias {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .mil-top-panel .mil-top-panel-content {
    padding: 0 15px;
  }

  .elementos-grid {
    padding: 10px;
    margin: 0;
  }

  .opciones-secundarias {
    padding: 10px;
  }

  .mil-background-grid {
    left: 0;
    width: 100%;
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
}

.whatsapp-float i {
  margin-top: 15px;
}

.whatsapp-float:hover {
  background-color: #22c35e;
  color: #fff;
}

.r-color {
  color: rgb(211, 47, 47);
}

.pa1 {
  padding: 15px;
}

.same-size {
  width: 130px;
  /* Esto ajustará ambas imágenes para que se adapten al ancho de su contenedor */
  height: 150px;
  /* Esto mantendrá la proporción correcta */
  max-width: 130;
  /* Ajusta el tamaño máximo según lo que prefieras */
}

.mil-responsive-image {
  width: 60%;
  height: auto;
  display: block;
  /* Elimina el espacio extra debajo de la imagen */
  align-self: center;
}

/* Media query para dispositivos más pequeños */
@media screen and (max-width: 600px) {
  .mil-image-container {
    max-width: 100%;
    /* Permite que la imagen ocupe todo el ancho en pantallas pequeñas */
  }
}

.bg-black {
  background-color: black;
}

.w-color {
  color: white;
}

.limp {
  text-decoration: none;
  color: black;
}

.limpio {
  text-decoration: none;
  color: white;
}

/* -------------------------------------------

scrollbar

------------------------------------------- */
.mil-progress-track {
  position: fixed;
  z-index: 99999999;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  /* Fondo claro para ver el track */
}

.mil-progress {
  width: 4px;
  height: 0;
  background-color: rgb(211, 47, 47);
  /* Rojo visible para el progreso */
  transition: height 0.1s ease;
  /* Transición suave para que el progreso se vea fluido */
}

@media screen and (max-width: 992px) {
  .mil-progress-track {
    display: none;
  }
}

::-webkit-scrollbar {
  display: none;
}

/* -------------------------------------------

background grid

------------------------------------------- */
.mil-background-grid {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 30px;
  right: 0;
  width: calc(100% - 60px);
  height: 100%;
  display: flex;
  justify-content: center;
  opacity: 0.3;
  border-left: solid 1px #545454;
  border-right: solid 1px #545454;
}

.mil-background-grid:before {
  content: "";
  border-left: solid 1px #545454;
  border-right: solid 1px #545454;
  height: 100%;
  width: 34.3%;
}

.mil-background-grid.mil-top-space {
  margin-top: 100px;
}

.mil-background-grid.mil-softened {
  opacity: 0.05;
}

@media screen and (max-width: 768px) {
  .mil-background-grid:before {
    border: none;
    width: 1px;
    background-color: #545454;
  }
}

/* -------------------------------------------

banner

------------------------------------------- */
.mil-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mil-overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.mil-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.mil-banner {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.mil-banner .mil-banner-slider {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

.mil-banner .container {
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.mil-banner .mil-banner-content {
  padding: 0 0 30px;
  width: 100%;
  position: relative;
}

.mil-banner .mil-banner-slider-2 {
  height: 100%;
}

@media screen and (max-width: 992px) {
  .mil-banner {
    height: auto;
  }

  .mil-banner .mil-banner-content {
    padding: 190px 0 0;
  }

  .mil-banner .mil-banner-slider-2 .mil-banner-content {
    padding: 190px 0 190px;
  }
}

.mil-banner.mil-banner-sm {
  height: 600px;
}

@media screen and (max-width: 1200px) {
  .mil-banner.mil-banner-sm {
    height: 480px;
  }
}

/* -------------------------------------------

slider navigation

------------------------------------------- */
.mil-nav-position {
  position: absolute;
  z-index: 9;
  bottom: 90px;
  height: 0px;
  right: 0;
  width: 100%;
  display: flex;
}

.mil-nav-position .mil-banner-slider-panel {
  margin-left: auto;
}

@media screen and (max-width: 992px) {
  .mil-nav-position {
    bottom: 60px;
    left: 0;
  }

  .mil-nav-position .mil-banner-slider-panel {
    margin-left: 0;
  }
}

.mil-banner-slider-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media screen and (max-width: 992px) {
  .mil-banner-slider-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

.mil-banner-pagination {
  position: static;
  width: auto !important;
  margin-right: 90px;
}

.mil-banner-pagination .swiper-pagination-bullet {
  background-color: transparent;
  transform: none;
  opacity: 1;
  width: 20px;
  height: 20px;
  margin-right: 30px !important;
  border-radius: 0;
}

.mil-banner-pagination .swiper-pagination-bullet:after {
  content: "00";
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
}

.mil-banner-pagination .swiper-pagination-bullet:last-child {
  margin-right: 0 !important;
}

.mil-banner-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:after {
  color: rgb(211, 47, 47);
}

.mil-banner-pagination .swiper-pagination-bullet:nth-child(1):after {
  content: "01";
}

.mil-banner-pagination .swiper-pagination-bullet:nth-child(2):after {
  content: "02";
}

.mil-banner-pagination .swiper-pagination-bullet:nth-child(3):after {
  content: "03";
}

.mil-banner-pagination .swiper-pagination-bullet:nth-child(4):after {
  content: "04";
}

.mil-banner-pagination .swiper-pagination-bullet:nth-child(5):after {
  content: "05";
}

.mil-banner-pagination .swiper-pagination-bullet:nth-child(6):after {
  content: "06";
}

.mil-nav-buttons {
  display: flex;
  align-items: center;
}

.mil-nav-buttons .mil-slider-button {
  cursor: pointer;
  color: rgba(0, 0, 0, 1);
  text-transform: uppercase;
  font-weight: 600;
  padding-right: 30px;
  border-right: 5px solid rgba(0, 0, 0, 0.1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.1) 1px,
      rgba(0, 0, 0, 0.1) 3px) 5;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-nav-buttons .mil-slider-button:last-child {
  padding-right: 0;
  padding-left: 30px;
  border: none;
}

.mil-nav-buttons .mil-slider-button:hover {
  color: rgb(211, 47, 47);
}

.mil-nav-buttons .mil-slider-button.swiper-button-disabled {
  color: rgba(0, 0, 0, 0.1);
  cursor: not-allowed;
}

.mil-nav-buttons.mil-light .mil-slider-button {
  color: rgba(255, 255, 255, 1);
  border-right: 5px solid rgba(255, 255, 255, 0.2);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(255, 255, 255, 0.2) 1px,
      rgba(255, 255, 255, 0.2) 3px) 5;
}

.mil-nav-buttons.mil-light .mil-slider-button:last-child {
  border: none;
}

.mil-nav-buttons.mil-light .swiper-button-disabled {
  color: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
}

/* -------------------------------------------

counters

------------------------------------------- */
.mil-counter-frame {
  font-size: larger;
  width: 100%;
  /* border: 5px solid rgba(0, 0, 0, .1); */
  /* border-image: repeating-linear-gradient(-45deg, transparent, transparent 1px, rgba(0, 0, 0, .1) 1px, rgba(0, 0, 0, .1) 3px) 5; */
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 185px;
}

.mil-counter-frame p br {
  display: none;
}

@media screen and (max-width: 576px) {
  .mil-counter-frame p br {
    display: block;
  }
}

.mil-counter-frame.mil-light {
  /* border: 5px solid rgba(255, 255, 255, .2); */
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(255, 255, 255, 0.2) 1px,
      rgba(255, 255, 255, 0.2) 3px) 5;
}

.mil-infinite-show .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear;
}

.mil-partner-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mil-partner-frame img {
  margin-top: 5px;
  width: 150px;
}

/* -------------------------------------------

illustrations

------------------------------------------- */
.mil-image-frame {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mil-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mil-illustration {
  padding-bottom: 100%;
  position: relative;
}

.mil-illustration .mil-about-counter {
  padding: 60px;
  position: absolute;
  bottom: -1px;
  right: -1px;
  background-color: rgba(255, 255, 255, 1);
}

.mil-illustration .mil-about-counter:before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 30px solid rgba(0, 0, 0, 0.1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.1) 1px,
      rgba(0, 0, 0, 0.1) 3px) 30;
  position: absolute;
  z-index: -1;
  bottom: -30px;
  right: -30px;
}

@media screen and (max-width: 992px) {
  .mil-illustration .mil-about-counter:before {
    bottom: -15px;
    right: -15px;
  }
}

.mil-illustration.mil-fw-item {
  padding-bottom: 40%;
}

@media screen and (max-width: 992px) {
  .mil-illustration.mil-fw-item {
    padding-bottom: 60%;
  }
}

@media screen and (max-width: 768px) {
  .mil-illustration.mil-fw-item {
    padding-bottom: 100%;
  }
}

.mil-about-counter {
  padding: 30px;
  position: relative;
  background-color: rgba(255, 255, 255, 1);
}

@media screen and (max-width: 768px) {
  .mil-about-counter {
    padding: 30px;
  }
}

.mil-about-counter .mil-avatar {
  margin-left: auto;
  margin-right: auto;
}

.mil-item-frame {
  border: 5px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 5;
}

.mil-avatar-frame {
  text-align: center;
  padding: 30px;
  border: 5px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 5;
}

.mil-avatar {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  margin-left: auto;
  margin-right: auto;
}

.mil-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}

.mil-illustration-slider-frame {
  position: relative;
  overflow: hidden;
}

.mil-illustration-slider-nav {
  padding: 40px 60px;
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  z-index: 1;
  bottom: -1px;
  right: 0;
}

.container .mil-illustration-slider-nav {
  right: 30px;
}

/* -------------------------------------------

icons

------------------------------------------- */
.mil-icon {
  display: inline-flex;
  padding: 15px;
}

.mil-icon.mil-icon-accent-bg {
  background-color: rgb(211, 47, 47);
}

.mil-icon.mil-icon-deep-bg {
  background-color: rgba(229, 229, 229, 1);
}

/* .mil-icon.mil-icon-border {
    border: 5px solid rgba(229, 229, 229, 1);
    border-image: repeating-linear-gradient(-45deg, transparent, transparent 1px, rgba(229, 229, 229, 1) 1px, rgba(229, 229, 229, 1) 3px) 5;
} */

.mil-icon.mil-icon-lg {
  width: 80px;
  height: 80px;
}

.mil-icon.mil-icon-xl {
  width: 80px;
  height: 80px;
}

.mil-icon-box {
  display: block;
  position: relative;
}

.mil-icon-box .mil-icon img {
  transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-icon-box:hover .mil-icon img {
  transform: scale(1.1);
}

.mil-icon-box:hover .mil-icon.mil-icon-border {
  border: 5px solid rgb(211, 47, 47);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 5;
}

.mil-advantage:before {
  content: "";
  width: 100%;
  height: 5px;
  background-color: transparent;
  border: 3px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 3;
  position: absolute;
  z-index: -1;
  top: 85px;
  left: 0;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-advantage .mil-icon {
  background-color: rgba(255, 255, 255, 1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-advantage .mil-icon img {
  transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-advantage:hover:before {
  background-color: transparent;
  border: 3px solid rgb(211, 47, 47);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 3;
}

.mil-advantage:hover .mil-icon {
  border-color: rgb(211, 47, 47);
}

.mil-hww {
  padding-left: 30px;
  border-top: 5px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 5;
  padding-top: 60px;
}

.mil-hww .mil-icon {
  position: absolute;
  top: -5px;
  right: 0;
}

.mil-hww:hover {
  border-top: solid 5px rgb(211, 47, 47);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 5;
}

.mil-hww:hover .mil-icon {
  border-color: rgb(211, 47, 47);
}

.mil-hww:hover .mil-divider-sm {
  background-color: transparent;
  border-top: solid 5px rgb(211, 47, 47);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 5;
}

.mil-service-card-ubicacion {
  background-color: rgba(255, 255, 255, 1);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 5;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  height: 100%;
  text-decoration: none;
}

/* -------------------------------------------

services
















------------------------------------------- */
.mil-service-card {
  background-color: rgba(255, 255, 255, 1);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: 60px;
  /* border: 5px solid rgba(0, 0, 0, .1); */
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.1) 1px,
      rgba(0, 0, 0, 0.1) 3px) 5;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  height: 100%;
}

.mil-service-card-black {
  background-color: black;
  border-radius: 30px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: 60px;
  /* border: 5px solid rgba(0, 0, 0, .1); */
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.1) 1px,
      rgba(0, 0, 0, 0.1) 3px) 5;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  height: 100%;
}

.mil-service-card-red {
  border-radius: 30px;
  background-color: rgb(152, 17, 17);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: 60px;
  /* border: 5px solid rgba(0, 0, 0, .1); */
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.1) 1px,
      rgba(0, 0, 0, 0.1) 3px) 5;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  height: 100%;
}

.mil-service-card .mil-card-number {
  position: absolute;
  top: 30px;
  left: 30px;
  color: rgba(0, 0, 0, 0.1);
  font-weight: 800;
  font-size: 22px;
}

.mil-service-card .mil-center {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mil-service-card .mil-service-text {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-service-card .mil-go-buton {
  position: absolute;
  bottom: -60px;
  left: calc(50% - 30px);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

/* ---------------------------------------------------------------------------- */

.mil-service-card-black .mil-card-number {
  position: absolute;
  top: 30px;
  left: 30px;
  color: rgba(0, 0, 0, 0.1);
  font-weight: 800;
  font-size: 22px;
}

.mil-service-card-black .mil-center {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mil-service-card-black .mil-service-text {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-service-card-black .mil-go-buton {
  position: absolute;
  bottom: -60px;
  left: calc(50% - 30px);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

/* ------------------------------------------------------------------------------- */

.mil-service-card-red .mil-card-number {
  position: absolute;
  top: 30px;
  left: 30px;
  color: rgba(0, 0, 0, 0.1);
  font-weight: 800;
  font-size: 22px;
}

.mil-service-card-red .mil-center {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mil-service-card-red .mil-service-text {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-service-card-red .mil-go-buton {
  position: absolute;
  bottom: -60px;
  left: calc(50% - 30px);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

/* hover 1 */

.mil-service-card-black .mil-go-buton {
  position: absolute;
  bottom: -60px;
  left: calc(50% - 30px);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-service-card-black:hover {
  background-color: black;
  padding-top: 80px;
  padding-bottom: 40px;
  border: 5px solid rgb(211, 47, 47);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 5;
}

.mil-service-card-black:hover .mil-service-text {
  opacity: 0;
  transform: translateY(15px) scale(0.8);
}

.mil-service-card-black:hover .mil-divider-sm {
  background-color: rgb(211, 47, 47);
}

.mil-service-card-black:hover .mil-go-buton {
  bottom: 0;
}

/* end hover 1 */

.mil-service-card:hover {
  background-color: rgba(255, 255, 255, 1);
  padding-top: 80px;
  padding-bottom: 40px;
  border: 5px solid rgb(211, 47, 47);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 5;
}

.mil-service-card:hover .mil-service-text {
  opacity: 0;
  transform: translateY(15px) scale(0.8);
}

.mil-service-card:hover .mil-divider-sm {
  background-color: rgb(211, 47, 47);
}

.mil-service-card:hover .mil-go-buton {
  bottom: 0;
}

/* hover 3 */

.mil-service-card-red .mil-go-buton {
  position: absolute;
  bottom: -60px;
  left: calc(50% - 30px);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-service-card-red:hover {
  background-color: rgb(152, 17, 17);
  padding-top: 80px;
  padding-bottom: 40px;
  border: 5px solid rgb(211, 47, 47);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 5;
}

.mil-service-card-red:hover .mil-service-text {
  opacity: 0;
  transform: translateY(15px) scale(0.8);
}

.mil-service-card-red:hover .mil-divider-sm {
  background-color: rgb(211, 47, 47);
}

.mil-service-card-red:hover .mil-go-buton {
  bottom: 0;
}

/* end hover 3 */

/* -------------------------------------------

portfolio

------------------------------------------- */
.mil-portfolio-grid {
  margin-left: -15px;
  margin-right: -15px;
}

.mil-portfolio-grid .grid-sizer,
.mil-portfolio-grid .mil-grid-item {
  width: 50%;
  padding: 0 15px;
}

@media screen and (max-width: 992px) {

  .mil-portfolio-grid .grid-sizer,
  .mil-portfolio-grid .mil-grid-item {
    width: 100%;
  }
}

.mil-portfolio-item {
  display: block;
  position: relative;
  overflow: hidden;
}

.mil-portfolio-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-portfolio-item.mil-square-item {
  padding-bottom: 100%;
}

.mil-portfolio-item.mil-long-item {
  padding-bottom: calc(200% + 30px);
}

@media screen and (max-width: 768px) {
  .mil-portfolio-item.mil-long-item {
    padding-bottom: 100%;
  }
}

.mil-portfolio-item .mil-project-descr {
  margin: 30px;
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px;
  background-color: rgb(211, 47, 47);
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-portfolio-item:hover img {
  transform: scale(1);
}

.mil-portfolio-item:hover .mil-project-descr {
  opacity: 1;
  transform: translateY(0px);
}

.mil-portfolio-item-2 {
  display: block;
  position: relative;
  overflow: hidden;
}

.mil-portfolio-item-2.mil-square-item {
  padding-bottom: 100%;
}

.mil-portfolio-item-2.mil-long-item {
  padding-bottom: 65%;
}

.mil-portfolio-item-2>img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-portfolio-item-2 .mil-project-descr {
  padding: 90px 60px 60px 100px;
  background-color: rgb(211, 47, 47);
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(100%);
  opacity: 0;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-portfolio-item-2 .mil-project-descr * {
  opacity: 0;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  transition-delay: 0s;
}

.mil-portfolio-item-2 .mil-category {
  position: absolute;
  top: calc(100% - 90px);
  left: 0;
  /* Alinea el elemento al borde izquierdo */
  width: 160px;
  text-align: center;
  background-color: rgb(211, 47, 47);
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-portfolio-item-2:hover img {
  transform: scale(1);
}

.mil-portfolio-item-2:hover .mil-project-descr {
  transform: translateY(0);
  opacity: 1;
}

.mil-portfolio-item-2:hover .mil-project-descr * {
  opacity: 1;
  transition-delay: 0.3s;
}

.mil-portfolio-item-2:hover .mil-category {
  background-color: rgba(255, 255, 255, 1);
}

/* -------------------------------------------

accordion

------------------------------------------- */
.mil-accordion-group {
  border-bottom: 5px solid rgba(255, 255, 255, 0.2);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(255, 255, 255, 0.2) 1px,
      rgba(255, 255, 255, 0.2) 3px) 5;
  margin-bottom: 30px;
}

.mil-accordion-group .mil-accordion-menu {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 30px;
}

.mil-accordion-group .mil-accordion-menu h6 {
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-accordion-group .mil-accordion-menu .mil-symbol {
  margin-right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 10px;
  position: relative;
}

.mil-accordion-group .mil-accordion-menu .mil-symbol .mil-plus,
.mil-accordion-group .mil-accordion-menu .mil-symbol .mil-minus {
  position: absolute;
}

.mil-accordion-group .mil-accordion-menu .mil-symbol .mil-minus {
  color: rgb(211, 47, 47);
  transform: translateY(-2px);
}

.mil-accordion-group .mil-accordion-menu:hover h6 {
  transform: translateX(10px);
}

.mil-accordion-group.mil-dark {
  border-bottom: solid 5px rgba(0, 0, 0, 0.1);
}

.mil-accordion-group.mil-dark .mil-accordion-menu {
  color: rgba(0, 0, 0, 1);
}

.mil-accordion-group.mil-dark .mil-accordion-menu h6 {
  color: rgba(0, 0, 0, 1);
}

.mil-accordion-content {
  padding-left: 40px;
  height: 0;
  overflow: hidden;
}

.mil-accordion-content.mil-expanded {
  height: 0;
  overflow: hidden;
}

/* -------------------------------------------

blog

------------------------------------------- */
.mil-blog-card {
  display: flex;
  align-items: center;
}

.mil-blog-card .mil-cover {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.mil-blog-card .mil-cover.mil-square {
  padding-bottom: 50%;
}

.mil-blog-card .mil-cover.mil-long {
  padding-bottom: 60%;
}

.mil-blog-card .mil-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-blog-card .mil-cover .mil-date {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(0, 0, 0, 1);
  width: 120px;
  height: 30px;
  background-color: rgb(211, 47, 47);
  position: absolute;
  bottom: 45px;
  right: -10px;
  transform: rotate(-90deg);
}

.mil-blog-card .mil-description {
  width: 50%;
  padding-left: 30px;
}

.mil-blog-card .mil-description .mil-link .mil-arrow {
  background-color: rgba(229, 229, 229, 1);
}

.mil-blog-card:hover .mil-cover img {
  transform: scale(1);
}

.mil-blog-card:hover .mil-suptitle:after {
  background-color: transparent;
  border-top: 3px solid rgb(211, 47, 47);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 3;
}

.mil-blog-card:hover .mil-description .mil-link .mil-arrow {
  background-color: transparent;
  border: 3px solid rgb(211, 47, 47);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 3;
}

.mil-blog-card.mil-lg-card {
  flex-direction: column;
}

.mil-blog-card.mil-lg-card .mil-cover {
  width: 100%;
  margin-bottom: 30px;
}

.mil-blog-card.mil-lg-card .mil-description {
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

.mil-blog-card.mil-lg-card .mil-description .mil-left-side {
  width: 50%;
  padding-right: 50px;
}

.mil-blog-card.mil-lg-card .mil-description .mil-right-side {
  width: 50%;
  padding-left: 30px;
}

.mil-blog-card.mil-lg-card .mil-description .mil-right-side .mil-link {
  display: none;
}

@media screen and (max-width: 992px) {
  .mil-blog-card.mil-lg-card .mil-description {
    flex-wrap: wrap;
  }

  .mil-blog-card.mil-lg-card .mil-description .mil-left-side {
    width: 100%;
  }

  .mil-blog-card.mil-lg-card .mil-description .mil-right-side {
    margin-top: 0;
    width: 100%;
    padding-left: 0;
  }

  .mil-blog-card.mil-lg-card .mil-description .mil-right-side .mil-link {
    display: inline-flex;
  }
}

@media screen and (max-width: 768px) {
  .mil-blog-card {
    flex-direction: column;
  }

  .mil-blog-card .mil-cover {
    width: 100%;
  }

  .mil-blog-card .mil-cover.mil-long {
    padding-bottom: 100%;
  }

  .mil-blog-card .mil-description {
    width: 100%;
    padding-left: 0;
    padding-top: 30px;
  }
}

.mil-pub-author {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.mil-publication .mil-post-top.mil-list {
  display: flex;
  flex-direction: row;
}

.mil-publication .mil-post-top.mil-list li {
  margin-right: 20px;
}

.mil-publication .mil-post-top.mil-list li:first-child:before {
  display: none;
}

.mil-publication .mil-text p,
.mil-publication .mil-text img,
.mil-publication .mil-text blockquote,
.mil-publication .mil-text iframe,
.mil-publication .mil-text table,
.mil-publication .mil-text ul,
.mil-publication .mil-text ol,
.mil-publication .mil-text h1,
.mil-publication .mil-text h2,
.mil-publication .mil-text h3,
.mil-publication .mil-text h4,
.mil-publication .mil-text h5,
.mil-publication .mil-text h6,
.mil-publication .mil-text object {
  margin-bottom: 40px;
}

.mil-publication .mil-text p:last-child,
.mil-publication .mil-text img:last-child,
.mil-publication .mil-text blockquote:last-child,
.mil-publication .mil-text iframe:last-child,
.mil-publication .mil-text table:last-child,
.mil-publication .mil-text ul:last-child,
.mil-publication .mil-text ol:last-child,
.mil-publication .mil-text h1:last-child,
.mil-publication .mil-text h2:last-child,
.mil-publication .mil-text h3:last-child,
.mil-publication .mil-text h4:last-child,
.mil-publication .mil-text h5:last-child,
.mil-publication .mil-text h6:last-child,
.mil-publication .mil-text object:last-child {
  margin-bottom: 0;
}

.mil-publication .mil-text img {
  max-width: 100%;
}

/* -------------------------------------------

footer

------------------------------------------- */
footer {
  overflow: hidden;
}

footer .mil-bg-img {
  height: 150%;
  top: -25%;
}

.mil-footer-logo {
  display: block;
  text-align: right;
}

@media screen and (max-width: 992px) {
  .mil-footer-logo {
    margin-top: 60px;
    text-align: left;
  }
}

.mil-footer-navigation {
  position: relative;
  display: flex;
  padding-bottom: 30px;
  border-bottom: 5px solid rgba(255, 255, 255, 0.1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(255, 255, 255, 0.1) 1px,
      rgba(255, 255, 255, 0.1) 3px) 5;
}

.mil-footer-navigation nav ul {
  display: flex;
  align-items: center;
}

.mil-footer-navigation nav ul li {
  list-style-type: none;
  position: relative;
  margin-right: 40px;
}

.mil-footer-navigation nav ul li:last-child {
  margin-right: 0;
}

.mil-footer-navigation nav ul li a {
  font-family: "Raleway", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-footer-navigation nav ul li a:hover {
  color: rgb(211, 47, 47);
}

.mil-footer-navigation nav ul li.mil-active>a {
  padding: 5px 10px;
  color: rgba(0, 0, 0, 1);
  background-color: rgb(211, 47, 47);
}

@media screen and (max-width: 992px) {
  .mil-footer-navigation nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .mil-footer-navigation nav ul li {
    margin: 0;
    margin-bottom: 15px;
  }

  .mil-footer-navigation nav ul li:last-child {
    margin-bottom: 0;
  }
}

.mil-footer-navigation.mil-dark nav ul li a {
  color: rgba(0, 0, 0, 1);
}

.mil-footer-navigation.mil-dark nav ul li a:hover {
  color: rgb(211, 47, 47);
}

.mil-footer-navigation.mil-center {
  justify-content: center;
}

.mil-footer-bottom {
  padding: 30px 0 15px;
  border-top: solid 1px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mil-footer-bottom ul {
  display: flex;
}

.mil-footer-bottom ul li {
  list-style-type: none;
  margin-right: 30px;
}

.mil-footer-bottom ul li:last-child {
  margin-right: 0;
}

.mil-footer-bottom ul li a {
  transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-footer-bottom ul li a:hover {
  color: rgb(211, 47, 47) !important;
}

@media screen and (max-width: 992px) {
  .mil-footer-bottom {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 0;
  }
}

@media screen and (max-width: 768px) {
  .mil-footer-bottom ul li {
    margin-right: 15px;
  }
}

/* -------------------------------------------

top panel

------------------------------------------- */
.mil-top-panel {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-top-panel.sticky {
  background-color: #1f282d;
  /* Nuevo color al hacer scroll */
}

.mil-top-panel .mil-top-panel-content {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  padding: 0 10%;
}

.mil-top-panel .mil-top-panel-content .mil-logo {
  /* margin-right: 90px; Añade un margen derecho para mover el logo */
  /* margin-left: auto;  Asegura que el logo se alinee a la derecha */
  display: flex;
  justify-content: space-between;
  /* Mueve el logo más a la derecha */
  align-items: center;
}

.mil-top-panel.mil-active {
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.mil-top-panel-buttons {
  display: flex;
  align-items: center;
}

.mil-top-panel-buttons .mil-search-btn {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1000px) {
  .mil-top-panel-buttons .mil-search-btn {
    margin-right: 15px;
  }
}

.mil-navigation {
  display: flex;
  justify-content: center;
  text-align: center;
}

.mil-navigation nav {
  width: 100%;
  display: flex;
}

.mil-navigation nav ul {
  display: flex;
  padding: 0;
  margin: 0;
}

.mil-navigation nav ul li {
  display: flex;
  align-items: center;
  margin-right: 30px;
  list-style-type: none;
  /* color: white; */
}

.mil-navigation nav ul li a {
  font-family: "Raleway", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 10px;
  transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-navigation nav ul li a:hover {
  color: rgb(211, 47, 47);
}

.mil-navigation nav ul li.mil-active>a {
  padding: 0 10px;
  color: rgba(255, 255, 255, 1);
  background-color: rgb(211, 47, 47);
}

.mil-navigation nav ul li.mil-has-children {
  position: relative;
  padding-right: 10px;
}

.mil-navigation nav ul li.mil-has-children:after {
  content: "";
  width: 100%;
  height: 40px;
  background-color: transparent;
  position: absolute;
  bottom: -40px;
  left: 0;
}

.mil-navigation nav ul li.mil-has-children ul {
  opacity: 0;
  position: absolute;
  left: -30px;
  top: 63px;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  display: block;
  min-width: 200px;
  padding: 30px;
  background-color: rgb(211, 47, 47);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-navigation nav ul li.mil-has-children ul li {
  position: relative;
  margin-bottom: 15px;
}

.mil-navigation nav ul li.mil-has-children ul li:last-child {
  margin-bottom: 0;
}

.mil-navigation nav ul li.mil-has-children ul li a {
  color: rgba(0, 0, 0, 1);
}

.mil-navigation nav ul li.mil-has-children ul li a:hover {
  transform: translateX(5px);
}

.mil-navigation nav ul li.mil-has-children:hover ul {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

@media screen and (max-width: 1200px) {
  .mil-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) !important;
    transform: translateY(10px);
    box-shadow: 0px 0px 40px 0px rgba(18, 24, 32, 0.1);
    width: 100%;
    background-color: rgb(211, 47, 47);
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
  }

  .mil-navigation.mil-active {
    height: auto;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .mil-navigation nav {
    padding: 30px 0;
  }

  .mil-navigation nav ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mil-navigation nav ul li {
    text-align: center;
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
    flex-direction: column;
  }

  .mil-navigation nav ul li:last-child {
    margin-bottom: 0;
  }

  .mil-navigation nav ul li a {
    color: rgba(0, 0, 0, 1);
    position: relative;
    padding: 0 15px;
  }

  .mil-navigation nav ul li a:hover {
    color: rgba(0, 0, 0, 1);
  }

  .mil-navigation nav ul li.mil-has-children {
    overflow: hidden;
    height: auto;
    padding-right: 0;
  }

  .mil-navigation nav ul li.mil-has-children:before {
    display: none;
  }

  .mil-navigation nav ul li.mil-has-children>a:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: solid 2px rgb(211, 47, 47);
  }

  .mil-navigation nav ul li.mil-has-children ul {
    position: static;
    margin-left: -1px;
    opacity: 1;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    transform: none;
    border-radius: 0 !important;
    background-color: rgba(0, 0, 0, 1);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  }

  .mil-navigation nav ul li.mil-has-children ul li a {
    color: rgba(255, 255, 255, 1);
  }

  .mil-navigation nav ul li.mil-has-children ul li a:hover {
    transform: none;
  }

  .mil-navigation nav ul li.mil-has-children ul li:first-child {
    margin-top: 30px;
  }

  .mil-navigation nav ul li.mil-has-children ul li:last-child {
    margin-bottom: 30px;
  }

  .mil-navigation nav ul li.mil-has-children ul.mil-active {
    margin-top: 15px;
    max-height: 250px;
  }

  .mil-navigation nav ul li.mil-has-children:hover ul {
    margin-top: 15px;
    max-height: 250px;
  }
}

@media screen and (max-width: 1200px) {
  .mil-top-panel-buttons .mil-button {
    display: none;
  }
}

/* -----------------------------------------
Whatsapp
*/
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
}

.whatsapp-float i {
  margin-top: 15px;
}

.whatsapp-float:hover {
  background-color: #22c35e;
  color: #fff;
}

/* -------------------------------------------

menu button

------------------------------------------- */
.mil-menu-btn {
  height: 24px;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

@media screen and (max-width: 1200px) {
  .mil-menu-btn {
    display: flex;
  }
}

.mil-menu-btn span,
.mil-menu-btn span:after,
.mil-menu-btn span:before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 1);
  backface-visibility: hidden;
  transition: inherit;
}

.mil-menu-btn span {
  position: relative;
}

.mil-menu-btn span:after,
.mil-menu-btn span:before {
  position: absolute;
}

.mil-menu-btn span:before {
  top: -8px;
}

.mil-menu-btn span:after {
  top: 8px;
}

.mil-menu-btn.mil-active span {
  transform: rotate(45deg);
}

.mil-menu-btn.mil-active span:before {
  transform: translate(0px, 8px) rotate(-90deg);
}

.mil-menu-btn.mil-active span:after {
  width: 24px;
  transform: translate(0px, -8px) rotate(-90deg);
}

.mil-menu-btn:hover span,
.mil-menu-btn:hover span:after,
.mil-menu-btn:hover span:before {
  background: rgba(255, 255, 255, 1);
}

/* -------------------------------------------

hover images

------------------------------------------- */
.mil-hover-images {
  position: relative;
  width: 100%;
}

.mil-hover-images ul li {
  list-style-type: none;
  margin-bottom: 30px;
}

.mil-hover-images ul li a {
  display: flex;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 5px solid rgba(0, 0, 0, 0.1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.1) 1px,
      rgba(0, 0, 0, 0.1) 3px) 5;
}

.mil-hover-images ul li a p {
  margin-right: 60px;
  color: rgba(0, 0, 0, 0.4);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-hover-images ul li a span {
  height: 35px;
  padding: 5px 0 0;
  position: relative;
  color: rgba(0, 0, 0, 0.4);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-hover-images ul li a span:before {
  content: "";
  width: 0;
  height: 100%;
  background-color: rgb(211, 47, 47);
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-hover-images ul li a:hover p {
  color: rgba(0, 0, 0, 1);
}

.mil-hover-images ul li a:hover span {
  padding: 5px 10px 0 10px;
  color: rgba(0, 0, 0, 1);
}

.mil-hover-images ul li a:hover span:before {
  width: 100%;
}

.mil-img-wrapper {
  position: absolute;
  z-index: 9;
  width: 55%;
  padding-bottom: 38%;
  top: 9%;
  right: -100px;
  overflow: hidden;
  transform: scale(0.7);
  visibility: hidden;
  pointer-events: none;
}

.mil-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 992px) {
  .mil-img-wrapper {
    display: none;
  }
}

/* -------------------------------------------

process

------------------------------------------- */
.mil-process-box {
  position: relative;
}

.mil-process-box:before {
  content: "";
  width: calc(100% - 90px);
  height: 5px;
  background-color: transparent;
  border: 3px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 3;
  position: absolute;
  z-index: -1;
  top: 30px;
  left: 90px;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-process-box:hover:before {
  background-color: transparent;
  border: 3px solid rgb(211, 47, 47);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgb(211, 47, 47) 1px,
      rgb(211, 47, 47) 3px) 3;
}

.mil-process-box:hover .mil-icon {
  border-color: rgb(211, 47, 47);
}

.mil-process-box.mil-process-end:before {
  display: none;
}

/*---------------------------


----------------------------------*/
.mil-icon-circle {
  width: 60px;
  /* Ajusta según el tamaño deseado */
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* Hace el fondo circular */
  background-color: #f00;
  /* Cambia al color que desees */
  color: white;
  /* Color del ícono */
  font-size: 24px;
}

/* -------------------------------------------

inputs

------------------------------------------- */
.mil-input-frame label {
  color: rgba(0, 0, 0, 1);
  display: block;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}

.mil-input-frame label span {
  margin-right: 5px;
}

.mil-input-frame label .mil-required {
  color: #e72836;
}

.mil-input-frame input {
  width: 100%;
  height: 70px;
  font-family: "Raleway", sans-serif;
  color: rgba(255, 255, 255, 1);
  font-size: 15px;
  font-weight: 400;
  background-color: transparent;
  border: none;
  border-bottom: solid 1px rgba(255, 255, 255, 0.1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-input-frame input:focus {
  outline: inherit;
  box-shadow: 0 5px 0 0 rgb(211, 47, 47);
}

.mil-input-frame input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.mil-input-frame textarea {
  padding-top: 30px;
  width: 100%;
  height: 200px;
  font-size: 15px;
  font-family: "Raleway", sans-serif;
  color: rgba(255, 255, 255, 1);
  background-color: transparent;
  border: none;
  border-bottom: solid 1px rgba(255, 255, 255, 0.1);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-input-frame textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.mil-input-frame textarea.mil-shortened {
  height: 200px;
}

@media screen and (max-width: 992px) {
  .mil-input-frame textarea {
    height: 200px;
  }
}

.mil-input-frame textarea:focus {
  outline: inherit;
  border-bottom: solid 1px rgba(255, 255, 255, 0.4);
}

.mil-input-frame.mil-dark-input input,
.mil-input-frame.mil-dark-input textarea {
  border-bottom: solid 1px rgba(0, 0, 0, 1);
  color: rgba(0, 0, 0, 1);
}

.mil-input-frame.mil-dark-input input:focus,
.mil-input-frame.mil-dark-input textarea:focus {
  box-shadow: 0 5px 0 0 rgb(211, 47, 47);
}

.mil-checbox-frame {
  display: flex;
  align-items: center;
}

.mil-checbox-frame label {
  line-height: 250%;
}

.mil-checbox-frame .mil-checkbox {
  position: absolute;
  opacity: 0;
}

.mil-checbox-frame .mil-checkbox+label {
  position: relative;
  cursor: pointer;
  padding: 0;
}

.mil-checbox-frame .mil-checkbox+label:before {
  content: "";
  margin-top: -2px;
  margin-right: 15px;
  display: inline-block;
  vertical-align: text-top;
  border: solid 1px rgba(255, 255, 255, 1);
  border-radius: 2px;
  width: 20px;
  height: 20px;
  background-color: transparent;
  transition: 0.2s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-checbox-frame .mil-checkbox:hover+label:before {
  background: rgba(255, 255, 255, 0.1);
  border: solid 1px rgb(211, 47, 47);
}

.mil-checbox-frame .mil-checkbox:checked+label:before {
  background: rgb(211, 47, 47);
  border: solid 1px rgb(211, 47, 47);
}

.mil-checbox-frame .mil-checkbox:disabled+label {
  color: #b8b8b8;
  cursor: auto;
}

.mil-checbox-frame .mil-checkbox:disabled+label:before {
  box-shadow: none;
  background: #ddd;
}

.mil-checbox-frame .mil-checkbox:checked+label:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 15px;
  background: rgba(0, 0, 0, 1);
  width: 2px;
  height: 2px;
  box-shadow: 2px 0 0 rgba(0, 0, 0, 1), 4px 0 0 rgba(0, 0, 0, 1),
    4px -2px 0 rgba(0, 0, 0, 1), 4px -4px 0 rgba(0, 0, 0, 1),
    4px -6px 0 rgba(0, 0, 0, 1), 4px -8px 0 rgba(0, 0, 0, 1);
  transform: rotate(45deg);
}

.mil-checbox-frame.mil-dark-input .mil-checkbox+label:before {
  border-color: rgba(0, 0, 0, 1);
}

.mil-checbox-frame.mil-dark-input .mil-checkbox:checked+label:before {
  background: rgb(211, 47, 47);
  border: solid 1px rgb(211, 47, 47);
}

/* -------------------------------------------

reviews

------------------------------------------- */
.mil-review-frame .mil-reviev-head {
  display: flex;
  align-items: center;
}

.mil-review-frame .mil-reviev-head .mil-left {
  display: flex;
}

.mil-review-frame .mil-reviev-head .mil-left .mil-quote {
  width: 70px;
  height: 70px;
  background-color: rgb(211, 47, 47);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mil-review-frame .mil-reviev-head .mil-left .mil-review-avatar {
  width: 70px;
  height: 70px;
}

.mil-review-frame .mil-reviev-head .mil-left .mil-review-avatar img {
  width: 100%;
  height: 100%;
}

.mil-review-frame .mil-reviev-head .mil-name {
  padding-left: 15px;
}

.mil-review-frame .mil-review-text {
  padding: 60px 0 0 70px;
  border-left: 5px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 5;
}

@media screen and (max-width: 992px) {
  .mil-review-frame .mil-review-text {
    border: none;
    padding: 60px 0 0 0;
  }
}

/* -------------------------------------------

price

------------------------------------------- */
.mil-price-card {
  padding: 50px;
  border: 5px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 5;
}

.mil-price-card .mil-price-head .mil-price-text {
  padding-left: 15px;
}

.mil-price-card .mil-price-head .mil-price {
  font-size: 46px;
}

.mil-price-card .mil-price-button .mil-button {
  background-color: rgba(229, 229, 229, 1);
}

.mil-price-card:hover .mil-price-button .mil-button {
  background-color: rgb(211, 47, 47);
}

@media screen and (max-width: 992px) {
  .mil-price-card {
    padding: 30px;
  }
}

/* -------------------------------------------

skills

------------------------------------------- */
.mil-skill-frame {
  display: flex;
  align-items: center;
}

.mil-skill-frame .mil-skill-counter-frame {
  width: 70px;
  color: rgba(0, 0, 0, 1);
}

.mil-skill-frame .mil-skill-track {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  background-color: transparent;
  border: 5px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 5;
  height: 70px;
}

.mil-skill-frame .mil-skill-track .mil-skill-prog {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgb(211, 47, 47);
  height: 100%;
}

.mil-skill-frame .mil-skill-track .mil-skill-text {
  position: relative;
  padding-left: 30px;
}

.mil-pagination {
  padding-top: 60px;
  border-top: solid 5px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .mil-pagination {
    justify-content: center;
  }

  .mil-pagination .mil-nav-buttons {
    display: none;
  }
}

.mil-page-numbers {
  display: flex;
}

.mil-page-numbers li {
  padding: 5px 10px;
  list-style-type: none;
  margin-right: 10px;
}

.mil-page-numbers li:last-child {
  margin-right: 0;
}

.mil-page-numbers li a {
  color: rgba(0, 0, 0, 1);
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-page-numbers li a:hover {
  color: rgb(211, 47, 47);
}

.mil-page-numbers li.mil-active {
  background-color: rgb(211, 47, 47);
}

.mil-page-numbers li.mil-active a:hover {
  color: rgba(0, 0, 0, 1);
}

/* -------------------------------------------

call to action

------------------------------------------- */
.mil-complex-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .mil-complex-actions {
    flex-direction: column;
  }
}

.mil-phone-box {
  padding-left: 30px;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .mil-phone-box {
    padding: 30px 0 0;
    text-align: center;
  }
}

.mil-contact-frame {
  padding: 60px 60px 30px;
  border: 5px solid rgba(0, 0, 0, 0.05);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.05) 1px,
      rgba(0, 0, 0, 0.05) 3px) 5;
}

@media screen and (max-width: 992px) {
  .mil-contact-frame {
    padding: 30px 30px 0;
  }
}

/* -------------------------------------------

sidebar

------------------------------------------- */
.mil-sidebar-frame {
  margin-left: 90px;
  padding: 30px;
  border: 5px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 5;
  background-color: rgba(255, 255, 255, 1);
}

@media screen and (max-width: 992px) {
  .mil-sidebar-frame {
    margin-left: 0;
  }
}

.mil-contact-sidebar {
  width: 100%;
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  margin-bottom: 90px;
}

@media screen and (max-width: 992px) {
  .mil-contact-sidebar {
    position: static;
  }
}

.mil-sidebar-info {
  position: relative;
  padding: 60px 60px 60px;
  border: 5px solid rgba(0, 0, 0, 0.05);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.05) 1px,
      rgba(0, 0, 0, 0.05) 3px) 5;
}

.mil-sidebar-info:before {
  content: "";
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  z-index: -1;
  top: -40px;
  left: -40px;
  height: calc(100% + 80px);
  width: calc(100% + 80px);
}

@media screen and (max-width: 992px) {
  .mil-sidebar-info {
    padding: 30px;
  }
}

.mil-sidebar-search {
  position: relative;
}

.mil-sidebar-search input {
  height: 70px;
  width: 100%;
  padding: 0 30px;
  font-size: 15px;
  font-family: "Raleway", sans-serif;
  border: solid 1px rgba(0, 0, 0, 0.1);
}

.mil-sidebar-search input::placeholder {
  font-size: 15px;
  font-family: "Raleway", sans-serif;
}

.mil-sidebar-search input:focus {
  outline: inherit;
}

.mil-sidebar-search button {
  border: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 70px;
  height: 70px;
  background-color: rgb(211, 47, 47);
}

/* -------------------------------------------

map

------------------------------------------- */
.mil-map-frame {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
}

.mil-map-frame .mil-map {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
}

.mil-map-frame .mil-map iframe {
  width: 100%;
  height: 100%;
}

/* -------------------------------------------

team

------------------------------------------- */
.mil-team-member-wrapper {
  padding-top: 120px;
  position: relative;
  width: 100%;
}

.mil-team-member-wrapper:before {
  content: "";
  background-color: rgba(0, 0, 0, 1);
  width: 100%;
  height: 50%;
  position: absolute;
  top: 0;
  left: 0;
}

.mil-team-member-wrapper .mil-team-member-frame {
  margin-top: 100px;
  background-color: rgba(255, 255, 255, 1);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mil-team-member-wrapper .mil-team-member-frame .mil-left-side {
  width: 50%;
  padding-right: 30px;
}

.mil-team-member-wrapper .mil-team-member-frame .mil-right-side {
  width: 50%;
  padding-left: 30px;
}

@media screen and (max-width: 1200px) {
  .mil-team-member-wrapper .mil-team-member-frame {
    flex-direction: column;
  }

  .mil-team-member-wrapper .mil-team-member-frame .mil-left-side,
  .mil-team-member-wrapper .mil-team-member-frame .mil-right-side {
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 992px) {
  .mil-team-member-wrapper .mil-team-member-frame {
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  .mil-team-member-wrapper .mil-team-member-frame {
    padding: 30px;
  }
}

.mil-member-portrait {
  position: relative;
  padding-bottom: 120%;
}

@media screen and (max-width: 1400px) {
  .mil-member-portrait {
    padding-bottom: 140%;
  }
}

@media screen and (max-width: 1200px) {
  .mil-member-portrait {
    padding-bottom: 100%;
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 768px) {
  .mil-member-portrait {
    margin-bottom: 30px;
  }
}

.mil-member-portrait img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.mil-next-project {
  text-align: right;
}

@media screen and (max-width: 768px) {
  .mil-next-project {
    text-align: center;
  }
}

.mil-prev-project {
  text-align: left;
}

@media screen and (max-width: 768px) {
  .mil-prev-project {
    text-align: center;
  }
}

.mil-team-member {
  position: relative;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: solid 5px transparent;
}

.mil-team-member:after {
  content: "+";
  width: 40px;
  height: 40px;
  background-color: rgb(211, 47, 47);
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 500;
  opacity: 0;
  transform: scale(0.4);
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-team-member .mil-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-team-member .mil-avatar img {
  object-position: top;
}

.mil-team-member:hover {
  border: 5px solid rgba(0, 0, 0, 0.05);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.05) 1px,
      rgba(0, 0, 0, 0.05) 3px) 5;
}

.mil-team-member:hover:after {
  opacity: 1;
  transform: scale(1);
}

.mil-team-member:hover .mil-avatar {
  transform: scale(1.1);
}

@media screen and (max-width: 992px) {
  .mil-team-member {
    padding: 0;
    margin-bottom: 60px;
  }

  .mil-team-member:after {
    display: none;
  }

  .mil-team-member:hover {
    border: solid 5px transparent;
  }
}

/* -------------------------------------------

comments

------------------------------------------- */
.mil-comments li {
  list-style-type: none;
}

.mil-comments li .mil-comment {
  margin-bottom: 30px;
}

.mil-comments li .mil-comment .mil-comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mil-comments li .mil-comment .mil-comment-head .mil-user-info {
  display: flex;
  align-items: center;
}

.mil-comments li .mil-comment .mil-comment-head .mil-user-info img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 30px;
}

.mil-comments li .mil-comment p {
  padding-left: 110px;
}

.mil-comments li ul {
  padding-left: 110px;
}

@media screen and (max-width: 992px) {
  .mil-comments li .mil-comment .mil-comment-head {
    margin-bottom: 20px;
  }

  .mil-comments li .mil-comment .mil-comment-head .mil-user-info img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .mil-comments li .mil-comment p {
    padding-left: 0;
  }

  .mil-comments li ul {
    padding-left: 30px;
  }
}

/* -------------------------------------------

filter

------------------------------------------- */
.mil-filter {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mil-filter .mil-filter-links {
  position: relative;
  background-color: rgba(255, 255, 255, 1);
  padding: 0 20px;
}

.mil-filter .mil-filter-links a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  padding: 3px 10px;
  margin-right: 20px;
  color: rgba(0, 0, 0, 1);
}

.mil-filter .mil-filter-links a.mil-current {
  background-color: rgb(211, 47, 47);
}

.mil-filter .mil-filter-links a:last-child {
  margin-right: 0;
}

.mil-filter:before {
  content: "";
  width: 100%;
  height: 5px;
  background-color: transparent;
  border-bottom: 5px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 5;
  position: absolute;
  left: 0;
}

@media screen and (max-width: 992px) {
  .mil-filter .mil-filter-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mil-filter .mil-filter-links a {
    margin-right: 0;
    margin-bottom: 5px;
  }

  .mil-filter .mil-filter-links a:last-child {
    margin-bottom: 0;
  }
}

.mil-hidden {
  display: none;
}

/* -------------------------------------------

timer

------------------------------------------- */
.mil-timer-text {
  text-align: right;
}

@media screen and (max-width: 1200px) {
  .mil-timer-text {
    text-align: left;
  }
}

@media screen and (max-width: 500px) {
  .mil-timer-text {
    text-align: center;
  }
}

.mil-timer {
  display: flex;
  justify-content: flex-end;
}

.mil-timer .mil-timer-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 40px;
}

.mil-timer .mil-timer-item:after {
  content: ":";
  font-size: 32px;
  color: rgba(255, 255, 255, 1);
  position: absolute;
  right: -25px;
  top: 25px;
}

.mil-timer .mil-timer-item:last-child {
  margin-right: 0;
}

.mil-timer .mil-timer-item:last-child:after {
  display: none;
}

.mil-timer .mil-timer-item .mil-timer-number {
  color: rgba(255, 255, 255, 1);
  display: block;
  width: 80px;
  height: 80px;
  border: solid 1px rgb(211, 47, 47);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 30px;
}

@media screen and (max-width: 1200px) {
  .mil-timer {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 500px) {
  .mil-timer {
    flex-direction: column;
  }

  .mil-timer .mil-timer-item {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .mil-timer .mil-timer-item:after {
    display: none;
  }
}

/* -------------------------------------------

load more

------------------------------------------- */

/* -------------------------------------------

load more

------------------------------------------- */
.mil-load-more {
  margin-top: 60px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mil-load-more button {
  cursor: pointer;
  padding: 0 30px;
  border: none;
  background-color: rgba(255, 255, 255, 1);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  z-index: 1;
}

.mil-load-more:before {
  content: "";
  width: 100%;
  height: 5px;
  background-color: transparent;
  border-bottom: 5px solid rgba(229, 229, 229, 1);
  border-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 1px,
      rgba(229, 229, 229, 1) 1px,
      rgba(229, 229, 229, 1) 3px) 5;
  position: absolute;
  left: 0;
  z-index: 0;
}

/* Fin del código SCSS convertido */

/* image popup */
img.mfp-img {
  box-shadow: 0 0 8px rgb(0 0 0 / 60%);
  position: absolute;
  max-height: 100%;
  padding: 0 !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mfp-img-container .mfp-close {
  top: -110px;
  right: -24px;
}

/* swiper container hidden */
.mil-wrapper .swiper-container {
  overflow: visible;
}

/* Mis estilos 
---------------------------------------
---------------------------------------
---------------------------------------
*/

.textCenter {
  text-align: center;
}

.textBigger {
  font-size: 4rem !important;
}

.textBigger2 {
  font-size: 2.5rem !important;
}

.textBigger3 {
  font-size: 1.5rem !important;
}

.centerObject {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .textBigger {
    font-size: 2.5rem !important;
  }

  .textBigger2 {
    font-size: 1.6rem !important;
  }
}

/* 
Baner de opciones
---------------------------------------
---------------------------------------
---------------------------------------
 */

@media screen and (min-width: 1200px) {
  .banner-opciones {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f5f5f5;
    margin-bottom: 20px;
  }

  .opcion-banner {
    padding: 15px 30px;
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-align: center;
    width: 45%;
  }

  .opcion-banner:hover {
    background-color: #333;
    color: #fff;
  }
}

.opciones-secundarias {
  display: none;
  justify-content: space-between;
  padding: 20px;
  margin-top: 20px;
  background-color: #f9f9f9;
}

.opcion-secundaria {
  display: block;
  padding: 15px 30px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 30%;
  text-decoration: none;
  color: #333;
}

.opcion-secundaria:hover {
  background-color: #f0f0f0;
  border-color: #999;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.elemento-lista {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #333;
  display: block;
}

.elemento-lista:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.elemento-lista:hover img {
  transform: scale(1.05);
}

.elemento-contenido {
  padding: 15px;
}

.elemento-contenido h4 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 1.2rem;
}

.elemento-contenido p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.listas-elementos {
  width: 100%;
  padding: 20px;
}

.lista-elementos {
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.elementos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 15px;
}

.elemento-lista img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.elemento-contenido {
  padding: 15px;
}

.elemento-contenido h4 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 1.2rem;
}

.elemento-contenido p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 992px) {
  .elementos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .elementos-grid {
    grid-template-columns: 1fr;
  }

  .elemento-lista img {
    height: 180px;
  }
}

/* 
Carrucel de img
---------------------------------------
---------------------------------------
---------------------------------------
 */

.carrusel-infinito {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  margin: 0;
}

.carrusel-track {
  display: flex;
  gap: 30px;
  transform: translateX(0);
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .mil-portfolio-grid {
    margin-left: 0;
    margin-right: 0;
  }

  .mil-service-card,
  .mil-service-card-black,
  .mil-service-card-red {
    padding: 30px 15px;
  }

  .mil-sidebar-frame {
    margin-left: 0;
    padding: 15px;
  }

  .mil-contact-frame {
    padding: 15px;
  }
}

/* Ajustes adicionales para elementos que podrían causar desbordamiento */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.mil-illustration,
.mil-portfolio-item,
.mil-blog-card {
  max-width: 100%;
  box-sizing: border-box;
}

.carrusel-slide {
  flex: 0 0 calc((100% - 60px) / 3);
  /* (100% - (2 * gap)) / 3 logos */
  max-width: 200px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.carrusel-slide img {
  width: auto;
  height: 100px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .carrusel-slide {
    flex: 0 0 calc((100% - 30px) / 2);
    /* Mostrar 2 en tablets */
  }

  .carrusel-slide img {
    width: auto;
    max-width: 200px;
    height: 150px;
  }
}

@media screen and (max-width: 480px) {
  .carrusel-slide {
    flex: 0 0 100%;
    /* Mostrar 1 en móviles */
  }
}

/* Estilo para la vista de lista */
.carrusel-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  transform: none !important;
  /* Desactiva transformaciones */
}

.carrusel-lista .carrusel-slide {
  flex: 0 0 100%;
  /* Ocupa el 100% del ancho */
  max-width: 100%;
  /* Asegura que no se desborde */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.carrusel-lista .carrusel-slide img {
  width: 90%;
  height: auto;
}

/* Estilo del botón de alternancia */
#toggleViewButton {
  display: none;
  /* Oculto por defecto */
  padding: 10px 20px;
  background-color: #d32f2f;
  /* Color de fondo rojo */
  color: #fff;
  /* Color del texto blanco */
  border: none;
  border-radius: 25px;
  /* Bordes redondeados */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  /* Centrado horizontal */
}

/* Mostrar el botón solo en pantallas de 1200px o menos */
@media screen and (max-width: 1200px) {
  #toggleViewButton {
    display: block;
    /* Visible solo en pantallas pequeñas */
  }
}

/* Efecto hover */
#toggleViewButton:hover {
  background-color: #b71c1c;
  /* Color más oscuro al pasar el mouse */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Centrar el botón */
.toggle-view {
  display: flex;
  justify-content: center;
  /* Centrar horizontalmente */
  align-items: center;
  /* Centrar verticalmente si es necesario */
  width: 100%;
}

/* Título del carrusel */
.carrusel-title {
  text-align: center;
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

@media screen and (max-width: 768px) {
  .carrusel-title {
    font-size: 2rem;
  }
}

/* Estilo para los nombres debajo de las imágenes */
.carrusel-caption {
  text-align: center;
  font-size: 1.5rem;
  font-weight: normal;
  margin: 10px;
  color: #555;
}

/* 
Sección de tres imágenes
---------------------------------------
---------------------------------------
---------------------------------------
*/
.three-images-section {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.three-images-section .container {
  margin: 0 100%;
}

.section-title {
  text-align: center;
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.row {
  display: flex;
  justify-content: center;
  /* Centra las imágenes horizontalmente */
  flex-wrap: wrap;
  /* Permite que las imágenes se ajusten en pantallas pequeñas */
}

.team-image {
  width: auto;
  height: auto;
  max-height: 250px;
  margin-bottom: 10px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.image-caption {
  font-size: 1rem;
  color: #555;
  text-align: center;
  /* Centra el texto debajo de la imagen */
}

/* Responsividad */
@media screen and (max-width: 768px) {
  .row {
    justify-content: center;
    /* Centra las imágenes en pantallas pequeñas */
  }

  .team-image {
    max-height: 200px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {
  .row {
    justify-content: center;
    /* Centra las imágenes en pantallas muy pequeñas */
  }

  .team-image {
    max-height: 150px;
  }
}

/* 
Correcciones
---------------------------------------
---------------------------------------
---------------------------------------
 */

.mil-icon-circle {
  font-size: 50px;
}

@media (min-width: 576px) {
  .col-sm-4 {
    width: 25% !important;
  }
}