.oee-hero .sh-title {
  max-width: 18ch;
}

.oee-hero .sh-subtitle {
  max-width: 36ch;
}

.oee-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.oee-hero .u-sheet-1,
.oee-slide .u-sheet-1 {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

.oee-slide {
  padding-block: clamp(72px, 10vw, 124px);
  border-top: 1px solid rgba(133, 213, 161, 0.18);
}

.oee-slide:nth-of-type(odd) {
  background: linear-gradient(180deg, rgba(8, 19, 23, 0.65), rgba(6, 15, 18, 0.92));
}

.oee-slide .sh-section-head {
  margin-bottom: 28px;
}

.oee-philosophy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
}

.oee-philosophy-media {
  display: flex;
  justify-content: center;
}

.oee-philosophy-media img {
  width: min(560px, 100%);
  border-radius: 18px;
  box-shadow: none;
}

.oee-step-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.oee-step-head::after {
  content: "";
  margin-left: auto;
  width: 360px;
  height: 250px;
  border: 0;
  background-color: transparent;
  box-shadow: none;
  background-repeat: no-repeat;
}

.oee-step-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  padding: 0;
  flex: 0 0 48px;
  line-height: 1;
  border-radius: 50%;
  border: 1px solid rgba(133, 213, 161, 0.7);
  box-shadow: inset 0 0 12px rgba(133, 213, 161, 0.2), 0 0 16px rgba(133, 213, 161, 0.15);
  color: #e8fffb;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.oee-highlight {
  color: #e8fffb;
  font-weight: 600;
}

.oee-final-cta {
  margin-top: 18px;
}

/* Paso 1: modelo de datos y estándares */
#oee-paso-1 .oee-step-head::after {
  background-image:
    linear-gradient(rgba(133, 213, 161, 0.9), rgba(133, 213, 161, 0.9)),
    linear-gradient(rgba(133, 213, 161, 0.55), rgba(133, 213, 161, 0.55)),
    linear-gradient(rgba(133, 213, 161, 0.28), rgba(133, 213, 161, 0.28)),
    linear-gradient(rgba(133, 213, 161, 0.28), rgba(133, 213, 161, 0.28));
  background-size: 130px 6px, 92px 6px, 130px 76px, 130px 76px;
  background-position: 120px 54px, 140px 86px, 110px 114px, 110px 196px;
}

/* Paso 2: captura de ejecución en operación */
#oee-paso-2 .oee-step-head::after {
  background-image:
    radial-gradient(circle at center, rgba(133, 213, 161, 0.95) 0 4px, transparent 5px),
    linear-gradient(rgba(133, 213, 161, 0.5), rgba(133, 213, 161, 0.5)),
    linear-gradient(rgba(133, 213, 161, 0.5), rgba(133, 213, 161, 0.5)),
    linear-gradient(rgba(133, 213, 161, 0.86), rgba(133, 213, 161, 0.86));
  background-size: 42px 42px, 148px 6px, 6px 102px, 96px 6px;
  background-position: 64px 112px, 92px 130px, 240px 84px, 156px 84px;
}

/* Paso 3: monitorización y señales */
#oee-paso-3 .oee-step-head::after {
  background-image:
    linear-gradient(rgba(133, 213, 161, 0.8), rgba(133, 213, 161, 0.8)),
    linear-gradient(120deg, transparent 40%, rgba(133, 213, 161, 0.85) 41% 46%, transparent 47%),
    radial-gradient(circle at center, rgba(133, 213, 161, 0.9) 0 3px, transparent 4px);
  background-size: 182px 6px, 110px 58px, 30px 30px;
  background-position: 78px 176px, 78px 98px, 242px 78px;
}

/* Paso 4: planificación y capacidad */
#oee-paso-4 .oee-step-head::after {
  background-image:
    linear-gradient(rgba(133, 213, 161, 0.88), rgba(133, 213, 161, 0.88)),
    linear-gradient(rgba(133, 213, 161, 0.3), rgba(133, 213, 161, 0.3)),
    linear-gradient(rgba(133, 213, 161, 0.3), rgba(133, 213, 161, 0.3)),
    radial-gradient(circle at center, rgba(133, 213, 161, 0.95) 0 3px, transparent 4px);
  background-size: 176px 34px, 176px 4px, 4px 108px, 30px 30px;
  background-position: 90px 40px, 90px 94px, 176px 100px, 176px 160px;
}

/* Paso 5: reglas y automatización */
#oee-paso-5 .oee-step-head::after {
  background-image:
    radial-gradient(circle at center, rgba(133, 213, 161, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at center, rgba(133, 213, 161, 0.85) 0 3px, transparent 4px),
    linear-gradient(rgba(133, 213, 161, 0.55), rgba(133, 213, 161, 0.55)),
    linear-gradient(rgba(133, 213, 161, 0.55), rgba(133, 213, 161, 0.55));
  background-size: 30px 30px, 30px 30px, 136px 6px, 6px 86px;
  background-position: 74px 132px, 232px 74px, 102px 84px, 232px 102px;
}

/* Paso 6: cuadro OEE y mejora continua */
#oee-paso-6 .oee-step-head::after {
  background-image:
    linear-gradient(rgba(133, 213, 161, 0.88), rgba(133, 213, 161, 0.88)),
    linear-gradient(rgba(133, 213, 161, 0.5), rgba(133, 213, 161, 0.5)),
    linear-gradient(rgba(133, 213, 161, 0.5), rgba(133, 213, 161, 0.5)),
    linear-gradient(rgba(133, 213, 161, 0.5), rgba(133, 213, 161, 0.5));
  background-size: 126px 6px, 6px 66px, 6px 86px, 86px 6px;
  background-position: 118px 74px, 118px 102px, 220px 92px, 188px 172px;
}

.oee-slide .casos-card,
.oee-slide .casos-solution-card,
.oee-slide .sh-card {
  min-height: 100%;
}

@media (min-width: 1280px) {
  .oee-slide {
    scroll-margin-top: 120px;
  }
}

@media (max-width: 767px) {
  .oee-philosophy-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .oee-step-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .oee-step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex-basis: 40px;
    font-size: 0.9rem;
  }

  .oee-step-head::after {
    margin-left: 0;
    width: 230px;
    height: 160px;
  }
}
