/* Hero (Home) – BEM */

.home-hero {
  display: contents;
}

/* .hero9-header30 y .hero9-container se mantienen igual si las necesitas en el futuro */

/* Imagen de fondo del Hero */
.home-hero__background {
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

/* Contenedor del contenido central del Hero */
.home-hero__content {
  gap: 6vmin;
  width: 90%;
  display: flex;
  z-index: 1;
  align-items: center;
  flex-direction: column;
}

/* Título principal del Hero */
.home-hero__title {
  fill: transparent;
  color: #ffffff;
  font-size: 7vmin;
  text-align: center;
  margin-bottom: -20px;
}

/* Descripción / subtítulo del Hero */
.home-hero__description {
  color: #ffffff;
  font-size: 3vmin;
  font-style: normal;
  text-align: center;
  font-weight: 700;
}

.home-services {
  display: contents;
}

.home-services__layout {
  gap: 10;
  width: 100%;
  height: auto;
  display: flex;
  overflow: hidden;
  position: relative;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 0px;
  flex-direction: column;
}

.home-services__heading {
  font-size: 3em;
  font-family: "Inter";
  margin-bottom: 30px;
  color: rgb(176, 0, 0);
  display: inline-block;
  font-family: "Inter";
  letter-spacing: 1px;
}

.home-services__cards {
  gap: 40px;
  flex: 0 0 auto;
  width: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: -20px;
  flex-direction: row;
  justify-content: center;
}

.home-services__card-link--design {
  display: contents;
}

/* Estilo común para TODAS las tarjetas */
.home-services__card--design,
.home-services__card--reverse-engineering,
.home-services__card--digitalization,
.home-services__card--calculation-report,
.home-services__card--process-improvement,
.home-services__card--technical-advisory,
.home-services__card--technical-training {
  gap: var(--dl-layout-space-unit);
  width: 25%;
  transition: 0.3s;
  border-color: rgba(255, 255, 255, 0);
  border-width: 2px;
  text-decoration: none;
}

.home-services__card--design:hover,
.home-services__card--reverse-engineering:hover,
.home-services__card--digitalization:hover,
.home-services__card--calculation-report:hover,
.home-services__card--process-improvement:hover,
.home-services__card--technical-advisory:hover,
.home-services__card--technical-training:hover {
  border-color: var(--dl-color-theme-primary1);
  border-width: 2px;
}

/* Overlays idénticos */
.home-services__card-overlay--design,
.home-services__card-overlay--reverse-engineering,
.home-services__card-overlay--digitalization,
.home-services__card-overlay--calculation-report,
.home-services__card-overlay--process-improvement,
.home-services__card-overlay--technical-advisory,
.home-services__card-overlay--technical-training {
  flex: 0 0 auto;
  width: 100%;
  height: var(--dl-layout-size-large);
  display: flex;
  z-index: 1;
  align-items: flex-start;
  background-color: rgba(217, 217, 217, 0.4);
}

/* Headers idénticos */
.home-services__card-header--design,
.home-services__card-header--reverse-engineering,
.home-services__card-header--digitalization,
.home-services__card-header--calculation-report,
.home-services__card-header--process-improvement,
.home-services__card-header--technical-advisory,
.home-services__card-header--technical-training {
  flex: 0 0 auto;
  width: 100%;
  height: 80px;
  display: flex;
  margin-top: 0px;
  align-items: center;
  margin-bottom: 0px;
  justify-content: center;
  background-color: var(--dl-color-theme-primary1);
}

/* Títulos idénticos */
.home-services__card-title--design,
.home-services__card-title--reverse-engineering,
.home-services__card-title--digitalization,
.home-services__card-title--calculation-report,
.home-services__card-title--process-improvement,
.home-services__card-title--technical-advisory,
.home-services__card-title--technical-training {
  fill: var(--dl-color-theme-neutral-light);
  color: var(--dl-color-theme-neutral-light);
  font-size: 24px;
  align-self: center;
  font-style: normal;
  text-align: center;
  font-weight: 700;
  margin-bottom: 0px;
}

/* Descripciones idénticas */
.home-services__card-description--design,
.home-services__card-description--reverse-engineering,
.home-services__card-description--digitalization,
.home-services__card-description--calculation-report,
.home-services__card-description--process-improvement,
.home-services__card-description--technical-advisory,
.home-services__card-description--technical-training {
  fill: var(--dl-color-theme-primary1);
  color: var(--dl-color-theme-primary1);
  align-self: center;
  font-style: normal;
  text-align: center;
  font-weight: 700;
}


.home-services__card-media--design {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
  flex-direction: column;
  background-size: cover;
  justify-content: flex-end;
  background-image: url("public/diseño-mecanico-estructural.webp");
  background-repeat: no-repeat;
  background-position: center;
}

.home-services__card-body--design {
  align-self: stretch;
  align-items: flex-start;
}

.home-services__card-link--reverse-engineering {
  display: contents;
}

.home-services__card-media--reverse-engineering {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
  flex-direction: column;
  background-size: cover;
  justify-content: flex-end;
  background-image: url("public/ingenieria-inversa.webp");
  background-repeat: inherit;
  background-position: center 100%;
}

.home-services__card-body--reverse-engineering {
  align-self: stretch;
  align-items: flex-start;
}

.home-services__card-link--digitalization {
  display: contents;
}

.home-services__card-media--digitalization {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
  flex-direction: column;
  background-size: cover;
  justify-content: flex-end;
  background-image: url("public/digitalizacion-planos.webp");
  background-repeat: inherit;
  background-position: center 90%;
}

.home-services__card-body--digitalization {
  align-self: stretch;
  align-items: flex-start;
}

.home-services__card-link--calculation-report {
  display: contents;
}

.home-services__card-media--calculation-report {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
  flex-direction: column;
  background-size: 200%;
  justify-content: flex-end;
  background-image: url("public/memoria-calculo.webp");
  background-repeat: inherit;
  background-position: 65% 40%;
}

.home-services__card-body--calculation-report {
  align-self: stretch;
  align-items: flex-start;
}

.home-services__card-link--process-improvement {
  display: contents;
}

.home-services__card-media--process-improvement {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
  flex-direction: column;
  background-size: auto;
  justify-content: flex-end;
  background-image: url("public/mejoramiento-procesos.webp");
  background-repeat: inherit;
  background-position: left;
}

.home-services__card-body--process-improvement {
  align-self: stretch;
  align-items: flex-start;
}

.home-services__card-link--technical-advisory {
  display: contents;
}

.home-services__card-media--technical-advisory {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
  flex-direction: column;
  background-size: cover;
  justify-content: flex-end;
  background-image: url("public/asesoria-tecnica.webp");
  background-repeat: no-repeat;
  background-position: center 100%;
}

.home-services__card-body--technical-advisory {
  align-self: stretch;
  align-items: flex-start;
}

.home-services__card-link--technical-training {
  display: contents;
}

.home-services__card-media--technical-training {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
  flex-direction: column;
  background-size: cover;
  justify-content: flex-end;
  background-image: url("public/capacitacion.webp");
  background-repeat: inherit;
  background-position: center 90%;
}

.home-services__card-body--technical-training {
  align-self: stretch;
  align-items: flex-start;
}

.home-services__cta {
  fill: var(--dl-color-theme-primary1);
  color: var(--dl-color-theme-primary1);
  height: auto;
  font-size: 23px;
  font-style: normal;
  margin-top: 50px;
  transition: 0.3s;
  font-weight: 600;
  border-color: var(--dl-color-theme-primary1);
  border-style: solid;
  border-width: 2px;
  border-radius: var(--dl-layout-radius-buttonradius);
  text-decoration: none;
  background-color: var(--dl-color-theme-neutral-light);
}

.home-services__cta:hover {
  fill: var(--dl-color-theme-neutral-light);
  color: var(--dl-color-theme-neutral-light);
  border-width: 2px;
  background-color: var(--dl-color-theme-primary1);
}

.home-services__cta-label {
  display: inline-block;
}

.features1root-class-name {
  align-self: center;
  margin-bottom: -10px;
}

@media(max-width: 991px){
  .home-services__cards {
    width: 100%;
  }
  .home-services__card--design,
  .home-services__card--reverse-engineering,
  .home-services__card--digitalization,
  .home-services__card--calculation-report,
  .home-services__card--process-improvement,
  .home-services__card--technical-advisory,
  .home-services__card--technical-training {
    width: 40%;
  }
  .home-services__card-title--technical-training {
    font-size: 24px;
  }
}

@media(max-width: 767px){
  .home-services__cards {
    gap: var(--dl-layout-space-oneandhalfunits);
  }
  .home-services__card--design,
  .home-services__card--reverse-engineering,
  .home-services__card--digitalization,
  .home-services__card--calculation-report,
  .home-services__card--process-improvement,
  .home-services__card--technical-advisory,
  .home-services__card--technical-training {
    width: 40%;
  }
}

@media(max-width: 479px){
  .home-services__heading {
    font-size: 2em;
    text-align: center;
    color: rgb(176, 0, 0);
    display: inline-block;
    font-family: "Inter";
    letter-spacing: 1px;
  }
  .home-services__card--design {
    height: 80%;
  }
  .home-services__card-overlay--design {
    height: 130px;
  }
  .home-services__card-title--design {
    color: var(--dl-color-theme-neutral-light);
    display: flex;
    font-size: 18px;
    font-style: normal;
    align-items: center;
    font-weight: 700;
  }
  .home-services__card-description--design {
    font-size: 14px;
  }
  .home-services__card-media--reverse-engineering {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 0%;
  }
  .home-services__card-overlay--reverse-engineering {
    height: 130px;
  }
  .home-services__card-title--reverse-engineering {
    font-size: 18px;
  }
  .home-services__card-description--reverse-engineering {
    font-size: 14px;
  }
  .home-services__card-media--digitalization {
    background-repeat: no-repeat;
    background-position: 0 -50;
  }
  .home-services__card-overlay--digitalization {
    height: 130px;
  }
  .home-services__card-title--digitalization {
    font-size: 18px;
  }
  .home-services__card-description--digitalization {
    font-size: 14px;
  }
  .home-services__card-media--calculation-report {
    background-repeat: no-repeat;
    background-position: -260 -160;
  }
  .home-services__card-overlay--calculation-report {
    height: 130px;
  }
  .home-services__card-title--calculation-report {
    font-size: 18px;
  }
  .home-services__card-description--calculation-report {
    font-size: 14px;
  }
  .home-services__card-media--process-improvement {
    background-repeat: no-repeat;
    background-position: 15%;
  }
  .home-services__card-overlay--process-improvement {
    height: 130px;
  }
  .home-services__card-title--process-improvement {
    font-size: 18px;
  }
  .home-services__card-description--process-improvement {
    font-size: 14px;
  }
  .home-services__card-media--technical-advisory {
    background-size: contain;
    background-position: center 0%;
  }
  .home-services__card-overlay--technical-advisory {
    height: 130px;
  }
  .home-services__card-title--technical-advisory {
    font-size: 18px;
  }
  .home-services__card-description--technical-advisory {
    font-size: 14px;
  }
  .home-services__card-media--technical-training {
    background-size: contain;
    background-position: center 0%;
  }
  .home-services__card-overlay--technical-training {
    height: 130px;
  }
  .home-services__card-title--technical-training {
    font-size: 18px;
  }
  .home-services__card-description--technical-training {
    font-size: 14px;
  }
}

.home-container {
  width: 100%;
  display: flex;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
}

@media (max-width: 1030px){
  h3.home-services__card-title--technical-training.thq-heading-3 {
    font-size: 20px !important;
  }
}

@media (max-width: 479px){
  h3.home-services__card-title--technical-training.thq-heading-3 {
    font-size: 18px !important;
  }
}
