/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #FAF7F2;
  color: #1E1E1E;
  line-height: 1.6;
  padding: 0 8%;
}

/* ----- TITULO Y DESCRIPCIÓN ----- */
article {
  text-align: center;
  margin-top: 7rem; /* espacio por el header */
  margin-bottom: 3rem;
}

article h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 2.4rem;
  color: #b9531f;
  margin-bottom: 1rem;
}

article p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #333;
}

/* ----- GALERÍA DE OPERARIOS ----- */
.staff {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.staff img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* ----- FORMULARIO ----- */
form {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto 4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

form p {
  font-weight: 600;
  font-size: 1.2rem;
  color: #1E4030;
  margin-bottom: 1.5rem;
  text-align: center;
}

table {
  width: 100%;
  border-spacing: 1rem;
}

td {
  vertical-align: middle;
  font-size: 1rem;
  color: #333;
}

label {
  font-weight: 500;
}

.textbox,
.numberbox,
.combobox {
  width: 100%;
  padding: 0.7rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.textbox:focus,
.numberbox:focus,
.combobox:focus {
  outline: none;
  border-color: #b9531f;
}

.submit {
  display: inline-block;
  background-color: #b9531f;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.submit:hover {
  background-color: #9e4219;
  transform: translateY(-2px);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  article h2 {
    font-size: 2rem;
  }

  form {
    padding: 1.5rem;
  }

  .staff img {
    width: 120px;
    height: 120px;
  }
}
